5 ms·
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 clos
by mladenkovacevic 15y ago
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
- almost 15y agoVery often performance isn't the most important metric though. For me it's usually about what's the easiest to set up and administer.
- mladenkovacevic 15y agoHere's one of those articles: http://www.peterbe.com/plog/fcgi-vs-gunicorn-vs-uwsgi 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/ http://supervisord.org/)
- jethroalias97 15y agoHere is an excellent resource which made me a convert to uwsgi: http://nichol.as/benchmark-of-python-web-servers 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.
- stock_toaster 15y agoAs 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.