Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. pmaloo
    P

    pmaloo

    @pmaloo

    Chat Follow Unfollow
    0
    Reputation
    2
    Posts
    940
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • 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 •
    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 •