Closed
Description
Hi There! Recently I'm playing around with upgrading redis adapter and socket IO version an I'm trying to understand one change.
In newer versions we're subscribing to all rooms:
this.subClient.psubscribe(this.channel + "*", onError);
For projects handling hundreds thousands of WS connections with multiple machines and node processes this solution is a little bit inefficient. So I decided to rewrite adapter as it worked a couple of versions before, to subscribe and unsubscribe to rooms that I want to. But maybe somehow I'm using socket.io in wrong way. Can you please explain that change? Below in the URL there is my implementation for adapter to subscribe and unsubscribe for rooms that I need at the moment.
Thanks in advance.