Re:Agar.io
by Roby65 on Thursday April 30, 2015 @10:45AM
(#9465349)
Can you describe server side technology?
How many servers are there?
How many players do you handle per server?
[ Parent
| on HN ]
The server is written in C++ with libuv to abstract networking (since I test it on windows but the servers run on linux).
See my reply to madeofpalk for the other 2 answers.
Why the decision to use C++ instead of NodeJS?
The main limitation on a server capacity is CPU
Re:Agar.io
by tomsmeding on Thursday April 30, 2015 @11:02AM
(#9465468)
Probably speed.
Think that part of it is that only one process or thread can run at any given time in node. So, if you have a complicated multiplayer server, subroutines will start getting blocked.