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 have a socket.io server, which listens for changefeeds from RethinkDB and passes the messages to the clients that are in a specific room. This server runs in 2 instances. Some upcoming functionality however requires me to use the redis adapter for shared rooms and because of that, every changefeed message would be sent twice. Is there a way I can only emit to the current instance sockets?
I could use an MQ in front to make sure that each changefeed message is sent once, but that would only add further complexity, so hopefully there's a built in solution.