How do large servers like Hypixel and Mineplex handle many servers?

Discussion in 'BungeeCord Discussion' started by ScarabCoder, Jun 5, 2017.

Thread Status:
Not open for further replies.
  1. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    So recently when I was playing on Hypixel, I noticed the amount of lobbies they have. Over 100. How do they create that many servers, and how do they update them all at once (especially for minigames)?
     
  2. JamesJ

    Supporter

    • Informative Informative x 3
  3. I actually thought that was a fake site to take the kids lol
     
  4. They use redisbungee, which allows them to support a lot of player on diferent proxys.
     
    • Agree Agree x 1
  5. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    I'm pretty certain large servers wouldn't use a Spigot premium resource, especially one with less than 200 downloads.
     
    • Funny Funny x 4
    • Agree Agree x 1
  6. I'm pretty sure that if they can get something that they can use from spigot and it works fine they would get it instead of getting a similar one developed by one of their team and instead keep them focused on adding more features.
     
    • Optimistic Optimistic x 1
  7. They use orchestration and networking solutions that scale to a lot nodes, SaltStack is an example of this, but it's definitely not the greatest, you should take a look at Kubernetes. Anyway the basic topology of the system you have a set of bungeecord nodes that sync some basic metadata like player count, and they allow their proxied players to connect to the network servers.
     
    • Like Like x 1
  8. They have Cloudsystems
     
    • Funny Funny x 3
    • Informative Informative x 1
  9. Hypixel has its own version of bungeecord like redis -but it's custom. They have 800gb+ too c;
     
    • Creative Creative x 1
  10. 800 GB of what? Ram? Don't think they have that in one server. Well basicly Hypixel will not rely on a spigot premium plugin. They will most likely modify it or make it from scratch to fit exactly their needs. Every other solution would be ineffective for such a huge custom network. They are of course using some kind of server management solution but they are also using multiple BungeeCord instances that sync their data. How is this possible? This has been asked and answered on this forum a ton of times. Just look for multiple BungeeCord instances.
     
  11. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    Why would you need multiple BungeeCord instances? Maybe a few, for backup servers - but not a ton; especially not for each lobby. Most likely they either have their own software, or use a sort of autoupdater over Git.
     
  12. When you have that many players, one bungeecord instance can't handle all of the connections.
     
    • Agree Agree x 3
    • Informative Informative x 1
  13. JamesJ

    Supporter

    You need to load balance them, Bungee struggles at >800 players.
     
    • Agree Agree x 3
    • Informative Informative x 1
    • Optimistic Optimistic x 1
  14. They have multiple bungeecord servers.
     
    • Agree Agree x 1
  15. I spoke to AgentK about this a while ago. He coded something for them to manage all of their nodes. I don't know the specifics, but that's what they use to link their nodes together, dispatch commands and do mass operations I believe. I guess they also have saltstack or something to issue shell commands across nodes. I don't know the specifics of what the tools they made do.
     
  16. JamesJ

    Supporter

  17. They use round robin for their domain and multiple proxies laying on it.

    Code (Text):
    $ host mc.hypixel.net
    mc.hypixel.net is an alias for r53.hypixel.net.
    r53.hypixel.net has address 209.222.115.28
    r53.hypixel.net has address 209.222.115.27
    r53.hypixel.net has address 209.222.115.29
    r53.hypixel.net has address 209.222.115.15
    r53.hypixel.net has address 209.222.115.12
    r53.hypixel.net has address 209.222.115.2
    r53.hypixel.net has address 209.222.115.8
    r53.hypixel.net has address 209.222.115.18
    r53.hypixel.net has address 209.222.115.4
    r53.hypixel.net has address 209.222.115.34
    r53.hypixel.net has address 209.222.115.22
    r53.hypixel.net has address 209.222.115.13
    r53.hypixel.net has address 209.222.115.32
    r53.hypixel.net has address 209.222.115.3
    r53.hypixel.net has address 209.222.115.33
    r53.hypixel.net has address 209.222.115.40
    r53.hypixel.net has address 209.222.115.20
    r53.hypixel.net has address 209.222.115.25
    r53.hypixel.net has address 209.222.115.42
    r53.hypixel.net has address 209.222.115.47
     
     
    • Winner Winner x 1
    • Informative Informative x 1
  18. JamesJ

    Supporter

    Again, this has nothing to do with managing multiple servers, that's just how the load balance between them all.
     
    • Agree Agree x 1
  19. Are you kidding me? That is the solution for handling a large amount of players. Furthermore, I am not sure why you are replying to this. The question came from ScarabCoder, not you.
     
    • Agree Agree x 3
    • Funny Funny x 1
Thread Status:
Not open for further replies.