The best answer is that it depends.
In terms of pure simplicity, apache2 / mod_wsgi is probably the easiest way to manage since you have a lot more people who understand apache.
In terms of performance, it depends.
If your application works very hard with heavy and not very static content (css, images), the gateway between the web server and the pylons is likely to be your bottleneck, and almost any deployment can handle this.
Paste pretty fast. I found the nginx / uwsgi interface a little faster than apache2 / mod_wsgi. Static nginx performance and memory requirements also support nginx.
There are several sites on which I came across these conversations:
tonylandis.com/python/deployment-howt-pylons-nginx-and-uwsgi/ cd34.com/blog/programming/python/pylons-and-facebook-application-layout/ code.google.com/p/modwsgi/wiki/ IntegrationWithPylons
The comparison I made is with apache2 / mpm-worker, not mpm-prefork, since I don't need mod_php5 in my setup.
karmawhore
source share