How to scale my game to world?

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

Moderators: Lapo, Bax

truongps
Posts: 32
Joined: 27 Sep 2015, 17:06

How to scale my game to world?

Postby truongps » 24 Sep 2016, 07:11

Hi,

I made a game like Poker, the game have many rooms and tours. I want to place my server games on many places like Singapore, American, ..., and all my user can play together. So, what is a good architecture to achieve this? Now, I'm writing the server with SFS2x and MySQL.

Please give me some ideas and start point. Thank you.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How to scale my game to world?

Postby Lapo » 26 Sep 2016, 07:00

Hi,
this is a huge question, not one that can easily answered in a support forums.

What you're asking is pretty difficult to achieve without making some compromises. Servers running at 1000s of miles away from each other incur in high latency which in turn causes major performance and scalability issues. Building a cluster that way is going to be very complicated.

I would highly recommend starting by reading these white papers as a starting point:
-> SmartFoxServer 2X Server Architecture
-> SmartFoxServer 2X and Hazelcast integration

http://docs2x.smartfoxserver.com/Overview/white-papers
Lapo
--
gotoAndPlay()
...addicted to flash games
harish2992
Posts: 2
Joined: 02 Jan 2017, 11:42

Re: How to scale my game to world?

Postby harish2992 » 10 Sep 2018, 08:48

Hi Lapo,

I have a similar question. Was there any update on this thread or in your discussion?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How to scale my game to world?

Postby Lapo » 10 Sep 2018, 14:22

Hi,
I would suggest to start a new post and provide as many details as possible.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 58 guests