Skip to content

Kills the performance of Socket.io Server #23

Closed

Description

@vishwassingh47

My socket server can handle 10K connection easily.

But when i configured the admin ui ,with namespaceName as "/", socket server can handle max 1K connection and connections starts disconnecting.
instrument(io, { auth: false, namespaceName:'/ });

Have tested it multiple times.

But if i keep the namespaceName to 'admin' or 'someThingButNot/', it works fine.

instrument(io, { auth: false, namespaceName:'adminBro' });

Activity

  1. darrachequesne commented on Jul 6, 2021

    @darrachequesne
    Member

    That might be related to #22.

    That being said, I don't think using the main namespace is a good idea, as all modifications will now be broadcast to all your connected users, not only the admin users.

  2. added a commit that references this issue on Jun 21, 2022
  3. darrachequesne commented on Jun 23, 2022

    @darrachequesne
    Member
  4. added this to the 0.4.0 milestone on Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions