News for hackers. Stuff that matters.
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC... by megakwood on Tuesday December 27, 2011 @11:34AM (#3396262)
Anyone know about the performance of this stack vs Apache + mod_wsgi?
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC... by wave on Tuesday December 27, 2011 @11:39AM (#3396271)
I remember reading from Instagram blog that they found Gunicorn to be less CPU-intensive:

  We use http://gunicorn.org/ as our WSGI server; 
  we used to use mod_wsgi and Apache, but found 
  Gunicorn was much easier to configure, and less 
  CPU-intensive. 
http://instagram-engineering.tumblr.com/post/13649370142/wha...
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC... by jvc26 on Tuesday December 27, 2011 @12:19PM (#3396434)
Nginx+n performs pretty well in general against Apache, and in my experience nginx as a front to something like uWSGI for Django is very easy to set up and use. There was a comparison of the various Nginx+n stacks, I think Nginx+uWSGI won out, with Gunicorn in a close second.
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC... by overshard on Tuesday December 27, 2011 @11:41AM (#3396286)
Gunicorn generally takes up less ram and less CPU than Apache + mod_wsgi. I've also had some major mem leaks with apache that have never occurred while using Gunicorn, I believe it restarts a thread when it gets out of control.
Re:Setting up Django + NGinx + Green Unicorn in an Ubuntu EC... by prez on Tuesday December 27, 2011 @11:40AM (#3396278)
In short - faster, easier on ram usage and easier to configure.