elad / node-cluster-socket.io

Writeup on how to make node.js cluster and socket.io play nice
421 stars 63 forks source link

I have a problem with 1 brower and 3workers #33

Open clancytom opened 6 years ago

clancytom commented 6 years ago

1 . I have http and ws request 2 . use cluster, 1master and 3workers 3 . if i use redis like demo, 1 browser (1 ip) all the request will be handled by one worker,and other workers will do nothing

  1. I want to rebalence the http request to the 3 workers , and ws handle by the right worker