You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've distributed socket.io processes to multiple servers to scale up my service, and I need to get all the ids of rooms that exist in different servers.
I know we can get the rooms name in single process by
Object.keys(io.sockets.adapter.rooms)
but I cannot get the information of the rooms in other server by socket.io it self.
So far, I noticed that there are several related discussions and pull request:
Should socket.io include some inter-server communication mechanism to let user get the information from other server? Or this kind of adapter should be implemented in each customized adapter itself as mentioned in the Introduction of Sokcet.io 1.0 # Scalability
The text was updated successfully, but these errors were encountered:
StevenRoan
changed the title
Get the list of all the rooms across different servers
Get the list of all the ids of room across different servers
Oct 18, 2014
That issue was closed automatically. Please check if your issue is fixed with the latest release, and reopen if needed (with a fiddle reproducing the issue if possible).
I've distributed socket.io processes to multiple servers to scale up my service, and I need to get all the ids of rooms that exist in different servers.
I know we can get the rooms name in single process by
but I cannot get the information of the rooms in other server by socket.io it self.
So far, I noticed that there are several related discussions and pull request:
Automattic/socket.io#1811
Automattic/socket.io-redis pull#15
My questions are:
The text was updated successfully, but these errors were encountered: