I start building chat server using Socket.io with multiple nodes. It uses Socket.io-redis to connect all servers together and rooms for messaging.
When a client connects
another approach is to use the customRequest/customHook methods in socket.io-redis 3.1.0. I tried and it works. Details here. https://github.com/socketio/socket.io-redis/issues/137