Hello,
    I was wondering if someone did some benchmarking between (1)
OS-level load balancing (i.e., spawning, say, -p 10 processes and
create one nginx upstream with one uwsgi_pass entry) versus (2)
nginx-level load balancing (i.e., creating, say, 10 single-worker
processes on 10 different sockets, and let nginx do load balancing).

I found (1) easier and cleaner, especially if special load balancing
(e.g., IP-hash) is not needed. Indeed, it's all about launching one
uwsgi master processes and let the OS do the scheduling. Also,
increasing the number of processes is as easy as modifying the
INI/XML/YML file and sending a -HUP.

Thanks! Ciao,
-Fede
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to