Il giorno 03/mar/2011, alle ore 11.08, Marcus Carlsson ha scritto: > Hi Roberto, > > I thank you for the documentation. Much more understandable now reading > through that nginx-example. > > Is there any drawbacks using this dynamic setup compared to starting one > instance / application?
Obviously security (having different instances will allows you to run them under different uid) and more usage of memory for single process (this can be a problem on 32 bit systems or on ISP that limits the address space usage per process). Some modules (like psycopg2) do not works well with multiple python interpreters, so if you use those kind of modules there is no way to host multiple apps in the same process. > I'm guessing that the uWSGI-instance will have > to be restarted if deploying new code so that the applications will be > reinitialized? they need to be restarted only on app changes/removal, new apps will be added without the need of reloading. > -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
