Multi-server scaling

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

_Si_
Posts: 18
Joined: 11 Mar 2011, 15:14

Multi-server scaling

Postby _Si_ » 21 Sep 2018, 09:28

Hiya,
I just wondered if anyone has any experience scaling SFS2X over multiple servers? Our Malaysian sister company is interested in rolling out our multiplayer games, and they have a user base of 10 million, so our single box solution isn't going to work for them.

Is it possible to deploy to multiple boxes and load balance across them? I saw there are now cloud solutions, so I'm guessing this sort of thing is feasible?

Cheers,
Si
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Multi-server scaling

Postby Lapo » 22 Sep 2018, 08:41

Hi,
sure we have many customers running multi-server deployments, and some of them are very large.

The strategies to load balance game servers can be quite different from the standard solutions found in web dev. Game servers run "sticky sessions", meaning that a client connects to one server instance and stays connected there for the entire gaming session. As opposed to websites where a load balancer can choose which server will handle each and every request of a client. (not always the case, but it's quite a popular approach)

I'd recommend reading a few of the white papers we have here:
http://docs2x.smartfoxserver.com/Overview/white-papers

In particular #2 (Server architecture) and #5 (Hazelcast integration) should give you a good overview of different strategies.

If there's any questions let us know.
Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 127 guests