Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. pmaloo
P

pmaloo

@pmaloo

Chat Follow Unfollow
0
Reputation
2
Posts
868
Profile views
0
Followers
0
Following
Joined 8 Feb 2020, 18:50 Last Online 10 Mar 2020, 09:34

  • Profile
  • More
    • Continue chat with pmaloo
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
pmaloo Follow

Posts made by pmaloo

Maximum Concurrent Connections

We recently completed a Poker game built on top of Colyseus. It has a lobby which is a Colyseus room. From there users can select tables which are separate rooms.

We have now started doing simple load test, and are struggling to go beyond 3500 concurrent users. The load test is very simple. The client connects to the lobby, and stays idle. There is no processing.

We have adjusted the max file limit (500000 soft/hard). However, 3500 concurrent connections seems like the maximum we can push. The CPU idles around 15%usage with spikes of upto 50% and more than 50% of the ram is unused (no swap).

Is there a hard limit on number of connections per room? Has anyone had success with a higher count?

posted in Questions & Help • 20 May 2020, 04:30
Patch state on demand

Is there anyway to patch the state on demand? I am building a card game for which I don't require continuous patching. On demand patch will suffice.

Room.broadcast is not useful as it doesn't provide onChange/diff.

I tried this.broadcastPatch() but it completely messed up the logic of my server.

posted in Questions & Help • 8 Feb 2020, 18:52

© 2023 Endel Dreyer