Answer the question
In order to leave comments, you need to log in
Load balancing across 2 node.js socket.io servers?
Hello, I'm chatting. Prompt idea of distribution of loading on 2 hosts of the server. That is, people enter the chat, but connect to different servers with socket.io. (total server 2). Probably some kind of balancer that connects the client to the desired node. How to organize this correctly?
Answer the question
In order to leave comments, you need to log in
Use Redis in your application. And in particular his sub / pub channels.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question