Configuring nginx/gunicorn for uniform load balancing of websocket connections

1.3k Views Asked by At

Gunicorn design says:

Gunicorn relies on the operating system to provide all of the load balancing
when handling requests. 

With WebSocket requests, this is resulting in uneven load balancing of requests to the workers. that is, some workers handle lot more WebSocket connections than others. How do you deal with this and get a uniform distribution?

I am using geventwebsocket for the WebSocket server application.

0

There are 0 best solutions below