Hello,

We want to host ~20 distinct WSGI applications using nginx and uWSGI on a
single machine. I am looking for advice on these two candidate setups:

1/ Run a single uWSGI instance and use the dynamic application mode to
dynamically create a sub-interpreter for each application?

2/ Run one separate uWSGI instance for each application?

Which setup would you recommend? What are the advantages and drawbacks of
each setup? Any other possible setup?

Regarding the first setup, I am afraid of having 20 different interpreters
running in the same process. For example, what about reloading an upgraded
application?

Regarding the second setup, I have to choose sockets/ports for each
application and type that information twice: once in nginx config and once
in supervisord config (this is the process manager we use). Maybe I should
use a configuration tool like fabric.

Your advice is very welcome!

Thanks,

Nicolas Grilly
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to