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
What would be the best way to handle syncing namespace creation among clustered node.js instances?
When one instance creates namespaces and a client connects to another instance it won't find these namespaces and can't connect.
Is this something socket.io-redis should do or should I write my own pub/sub system to handle this?
The text was updated successfully, but these errors were encountered:
I solved this by using my own Redis pub/sub system. My data management module is a EventEmittor. When it changes it's data it will publish this into a channel it's also subscribed to, (so all (clustered) instances of this module will receive this), it then emit's an event. The module that creates the namespaces now listens to this event.
What would be the best way to handle syncing namespace creation among clustered node.js instances?
When one instance creates namespaces and a client connects to another instance it won't find these namespaces and can't connect.
Is this something socket.io-redis should do or should I write my own pub/sub system to handle this?
The text was updated successfully, but these errors were encountered: