socketio / socket.io-admin-ui

Admin UI for Socket.IO

Home Page:https://admin.socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kills the performance of Socket.io Server

vishwassingh47 opened this issue · comments

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' });

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.