Sign in to follow this  
Vladimir Ilich

Scalability considerations

Recommended Posts

I have a very important feature request : 

Implement round robin on the connection, so when you click to enter a server the client checks if a DNS has more ip entries and if one of the ips has an offline server check the next ip and connect to that if there is an online server.  Also connect only to the server with players on it if there are multiple servers online or to the first online server if there are no players online on any ips.

https://www.dnsknowledge.com/whatis/round-robin-dns/

Make the system stateless, in Dota 2 if a server crashes or gets flooded  another server will almost instantly take over, this can be simply achieved by keeping the round robin checks running in the client after connection and if the ping is too high to the existing server automatically reconnect to the other ip in the dns without leaving the game. 

The state between servers should be shareable, I plan to do this with redis : I would save the state of the map in redis constantly and whenever a player would connect he would be synced back to the state the server last wrote to redis. (suppose redis would never crash) If the crashed server comes back online nobody would connect to it because it wouldn't have players, if the second server crashes the clients will automatically connect to the first or next online server in round robin from the dns.

Edited by Vladimir Ilich
  • Like 1

Share this post


Link to post
Share on other sites

You can't compare Dota 2 and RAGE Multiplayer since it's completely different at all - at least because Dota 2 doesn't have dedicated servers. Also it may produce major overhead compared to 2 standalone game servers.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.