Thanks for your explanations Roberto! Just a few follow-up questions. On Fri, Dec 10, 2010 at 16:46, Roberto De Ioris <[email protected]> wrote: > reloading/upgrading (if done in graceful mode) is not a real issue (except > for a first request being very slow). What scares me of having too much > apps > in a single process, is the big memory usage (i prefer to have more little > processes and less big one, and remember that on 32bit system you have at > max a couple of gigs of memory for process) and the not-perfect isolation > of python interprerers. For me, 20 apps are too much for a single process, > i suggest you to avoid this approach
Understood. Considering these limitations, in which situation would you recommend the usage of the "multiple interpreter in the same process" setup? > > 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. > > This is the main issue (doing double configurations), so my suggestion is > looking at this wiki page: > > http://projects.unbit.it/uwsgi/wiki/CustomRouting > > It is for 0.9.7-dev but you can use the development version for routing > and the stables one for your apps Ok. I am reading the wiki page and will give a thought about it. What is the expected overhead of the "indirection"? Thanks for your help, Nicolas Grilly _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
