socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

how to communication with two server?

Open lonso opened this issue 12 years ago • 1 comments

In my project, i have get a problem. I need two accept many connections, so i need nginx to load balance. In my biz,i want to in the same room's client can communication, whatever it's on which server. example. A,B in same room, throught load balance,A connection server 1,B conncetion server2. how to communication of server1 and server 2? Thanks.

lonso avatar Oct 28 '14 10:10 lonso

see http://socket.io/docs/using-multiple-nodes and check socket.io-redis

nkzawa avatar Oct 28 '14 10:10 nkzawa