Hi Roberto, all,

Recently there have been quite a few features that revolve around adding
more processes to handle more load. I'd appreciate it if someone here could
explain how this helps precisely.

I can understand why adding processes up to the number of cores is helpful
(because you will utilize all cores in the machine).
I can understand why adding processes to a slightly higher number of cores
is helpful (because you will decrease the chance of losing CPU time when
workers are blocking on something).

But I'm not sure I understand why it makes sense to run 20 or 40 or 80
workers on a machine with only 4 cores, even if it has enough RAM for all of
them; and especially I don't understand why a long TCP backlog is an
indication of a need to run more workers - I mean, I probably have a backlog
because this host or another component on my network is lacking a resource
(CPU, RAM, IOPS, whatever). Why would I want to add more processes in this
scenario? Wouldn't it be better to increase my backlog, or add more of that
resource?

Thanks,
 - Yaniv

On Tue, Jun 28, 2011 at 8:15 AM, Roberto De Ioris <[email protected]> wrote:

> This configuration is inspired by a Łukasz Wróblewski idea.
>
> It is still at early stage of development, but you can already start
> playing with it.
>
> http://projects.unbit.it/uwsgi/wiki/Broodlord
>
>
>
> --
> Roberto De Ioris
> http://unbit.it
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to