Workers and load balacning
ghartz at gehtz.com
Tue Sep 12 19:58:51 UTC 2017
while testing unit I noticed that for a little project in python (based on
Django) the load balacing between workers are unexpected when setting
"workers" > 1
I load benchmark with "wrk" and the following happens:
- the very first seconds I see all workers reaching 30-40% of CPU usage
- right after only one worker is at 100% CPU usage and the other ones are
The overall performance is equivalent to 1 CPU core.
For example with nginx starting with version 1.9.1 the feature "REUSE_PORT"
is available to load balance between workers, why not using this for Unit
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the unit