Have you guys dealt with the 3-year clustering bug? https://github.com/Automattic/socket.io/issues/438
Would be pretty hesitant to use it until there's some sort of closure on this.
Would be pretty hesitant to use it until there's some sort of closure on this.
We had two issues with sticky load balancing:
1. AWS ELB had to run in TCP mode (for websockets) which meant no stickiness
2. Within each instance we have a node-cluster running to utilize multiple CPUs and putting haproxy with stickiness there increased complexity
We could avoid using the ELB but then you lose the ability to use an EC2 Auto Scaling group, introducing significant admin overhead.
Ultimately we didn't need the nodes communicating between each other (it's a one way stream from us to the client) so raw websockets ended up being the simplest solution.