Hi,
We are testing a uwsgi configuration where we host several hundreds
django applications with uwsgi virtualhosting mode (through apache for
now). Each apache virtualhost is associated with its own application. We
use virtualhosting for applications that are not accessed often and
emperor/dedicated process for applications that receive more traffic.
I was wondering what strategy uwsgi uses to dispatch the requests to the
process pool? For example, does it try to reuse the same
subinterpreter/process unless the process is servicing another request
for another app? Does it allocate subinterpreters to processes using
round-robin or ...?
I mainly ask this question because I noticed that requests for the same
host/app do not often go to the same process and uwsgi ends up creating
many wsgi applications when it did not seem necessary.
One last question, does it make sense and is it supported to use threads
with virtualhosting (e.g., uwsgi --threads 10 --workers 60 --vhost)?
Btw, thanks for this great piece of software!
Barthélémy
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi