A repo to find perfect LoadBalancing Solution for Socket.io on Node JS
How can you use this repo?
This repo has some basic setup, to test your socketio loadbalance solution.
We are using Redis and socket.io-redis adapter to loadbalance, which works perfectly when used with sticky session / ip_hash Load balance with Nginx.
Works With
I have discussed about the solution here, Load Balancing Node.js Application #Socket.io
There are multiple reasons we should not use sticky session. So here is solution, but we will miss what socketio offers.
Works With
I have discussed about the solution as well Load Balancing Node.js Application #Socket.io