Forum Multiplayer Design question - Rooms

Discussion and help relating to the PlayerIO Multiplayer API.

Design question - Rooms

Postby snowman745 » September 18th, 2020, 5:16 pm

Hi, I am creating a chess platform/game where literally thousands of players can be playing each other 1-1 chess games.

My question is:

Once players are paired up for a game, should I have them connect to their own room and process the game in that single room instance?

OR, should a room handle multiple games going on for a large amount of players? Say 100 players per room.

I am curious what it means to have 1000's of rooms running versus a handful of rooms processing 1000's of players.

Thanks!
--Mike
snowman745
 
Posts: 6
Joined: August 28th, 2020, 2:27 pm

Re: Design question - Rooms

Postby Emalton » September 19th, 2020, 11:41 pm

The best way to do that is to send players to their own rooms. There is a limit on how many players you can have in a single room, unless you have your own private cluster. The reason why PlayerIO scales really well is because the rooms are distributed to many different servers.
Emalton
 
Posts: 86
Joined: June 28th, 2013, 3:49 am


Return to Multiplayer



cron