Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC...
by mladenkovacevic on Tuesday December 27, 2011 @12:10PM
(#3396401)
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
[ Parent
| on HN ]
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC...
by jethroalias97 on Tuesday December 27, 2011 @12:41PM
(#3396527)
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.
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC...
by almost on Tuesday December 27, 2011 @12:28PM
(#3396475)
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.
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC...
by mladenkovacevic on Tuesday December 27, 2011 @12:38PM
(#3396511)
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/)
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC...
by stock_toaster on Wednesday December 28, 2011 @03:45AM
(#3399120)
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.