Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There was an article somewhere comparing the performance of various Django setups and as far as I can remember uWSGI+NGinx won out, although Gunicorn was a close second


Here is an excellent resource which made me a convert to uwsgi:

http://nichol.as/benchmark-of-python-web-servers.

Setup is a bit more difficult, but if you are already using nginx it isn't so bad.


Very often performance isn't the most important metric though. For me it's usually about what's the easiest to set up and administer.


Here's one of those articles: http://www.peterbe.com/plog/fcgi-vs-gunicorn-vs-uwsgi He actually proclaimed Gunicorn as the initial winner but after what probably was some real-life usage changed his mind to UWsgi.

the UWsgi module is also now included with NGinx by default (as of version .84 or something)

I've never used Upstart as in the original post but I believe Supervisor does the same thing and is maybe a little more commonly used (http://supervisord.org/)


As I recall, gevent support in uWSGI is still only in the -dev branch, and requires the as yet unreleased version of gevent (also -dev).

I have been using gunicorn+gevent in production for a while now and it has been outstanding.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: