News for hackers. Stuff that matters.
Re:Python Deployment Anti-Patterns by Ixiaus on Monday April 23, 2012 @02:39PM (#3880273)
Yes to all of this and I'll throw in my two cents on our web server setup which is nginx + uwsgi (which has served remarkably well).
Re:Python Deployment Anti-Patterns by lifeisstillgood on Monday April 23, 2012 @04:21PM (#3880755)
+1 to uWSGI and nginx. Now wsgi is built into nginx distribution, and uwsgi is gaining areputation for rock solid performance it's a nobrainer.
Re:Python Deployment Anti-Patterns by alexatkeplar on Monday April 23, 2012 @07:00PM (#3881443)
Likewise +1 to Nginx + uwsgi. In the various performance benchmarks* uwsgi beats gunicorn, and uwsgi comes bundled with Nginx now, so there's really no reason to bother with setting up gunicorn any more.

* http://www.peterbe.com/plog/fcgi-vs-gunicorn-vs-uwsgi http://nichol.as/benchmark-of-python-web-servers

Re:Python Deployment Anti-Patterns by dignan on Tuesday April 24, 2012 @10:50AM (#3884163)
Can you restart the uwsgi instance(s) without restarting nginx? That's a pretty significant benefit of gunicorn...
Re:Python Deployment Anti-Patterns by joeshaw on Wednesday April 25, 2012 @09:19AM (#3888973)
Yes, uwsgi instances run separately from nginx. The uwsgi nginx module simply speaks a binary protocol for reverse proxying rather than HTTP.
Re:Python Deployment Anti-Patterns by edanm on Tuesday April 24, 2012 @02:38AM (#3882751)
uwsgi comes bundles with Nginx? First I've heard of that. Very interesting.

Do you have any easy tutorials on getting Nginx + uwsgi set up?

Re:Python Deployment Anti-Patterns by spahl on Tuesday April 24, 2012 @03:12AM (#3882841)
The uwsgi upstream module has been bundled for a long time now.

Here is the doc from the uwsgi site: http://projects.unbit.it/uwsgi/wiki/RunOnNginx

Re:Python Deployment Anti-Patterns by mixmastamyk on Tuesday April 24, 2012 @04:38AM (#3883023)
I chose nginx and gevent after reading a blog post about py server performance. Anyone have any experience with these two?