QUESTION: What server config would you recommend

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

Moderators: Lapo, Bax

Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

QUESTION: What server config would you recommend

Postby Jochanan » 04 Sep 2019, 10:59

We are going to go live soon, so i would like to ask you about server configuration, you would recommend for
    tens of thousands of logged users (up to 20 000)
    thousands of rooms with two players (up to 10 000)
    each room up to five additional spectators
We are using microsoft azure.
What is more important? CPU, MEMORY, SSD, ... ?
Thanks for the info
User avatar
Lapo
Site Admin
Posts: 21723
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: QUESTION: What server config would you recommend

Postby Lapo » 04 Sep 2019, 14:10

Hi,
can you describe how your game works? Is it real time? Turn based?
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Jochanan
Posts: 79
Joined: 11 May 2018, 09:12

Re: QUESTION: What server config would you recommend

Postby Jochanan » 04 Sep 2019, 14:31

it is turn based (it is similar to chess, but quicker).
I expect 2request/second per user.

Additionally, there will be a lobby with all rooms and room variables updated for every user in a rate 20 updates/second.
These are just the estimates, but i would rather have more powerfull server then less poverful laggy one
User avatar
Lapo
Site Admin
Posts: 21723
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: QUESTION: What server config would you recommend

Postby Lapo » 05 Sep 2019, 10:07

A mid-range server should be able to handle 20K+ user with no effort.
Let's say a Xeon class 4-6 core machine with 4-8GB RAM should do the trick. If you're also planning to run other services (database, web server etc...) you may need to evaluate the impact of those. For 20K users I'd rather use two dedicated machines, one for SFS2X and the other for the DB/HTTP

Hope it helps
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 28 guests