From 61bbf263344e6b0d33d6eca285da2b5d8cf0e63b Mon Sep 17 00:00:00 2001 From: George Gritsouk Date: Thu, 29 Dec 2011 13:55:27 -0500 Subject: [PATCH] Added a blurb about Nginx and gUnicorn, fixed a small typo in the Mongrel2 section. --- docs/scenarios/web.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/scenarios/web.rst b/docs/scenarios/web.rst index b32d10b..60a478d 100644 --- a/docs/scenarios/web.rst +++ b/docs/scenarios/web.rst @@ -88,6 +88,22 @@ Apache + mod_python Nginx + gunicorn ---------------- +`Nginx `_ (pronounced "engine-x") is a web server and +reverse-proxy for HTTP, SMTP and other protocols. It is known for its +high performance, relative simplicity, and compatibility with many +application servers (like WSGI servers). It also includes handy features +like load-balancing, basic authentication, streaming, and others. Designed +to serve high-load websites, Nginx is gradually becoming quite popular. + +`gUnicorn `_ (Green Unicorn) is a WSGI server used +to serve Python applications. It is a Python fork of the Ruby +`Unicorn `_ server. gUnicorn is designed to be +lightweight, easy to use, and uses many UNIX idioms. gUnicorn is not designed +to face the internet, in fact it was designed to run behind Nginx which buffers +slow requests, and takes care of other important considerations. A sample +setup for Nginx + gUnicorn can be found in the gUnicorn +`help `_. + Mongrel2 + Brubeck ------------------ @@ -96,7 +112,7 @@ Mongrel2 + wsgid ---------------- Mongrel2 is an application, language, and network architecture agnostic web server. It uses a high performance queue (zeromq) to communicate -with you applications, all asynchronously. There is a well defined protocol to be used between mongrel2 and a backend handler (your app). +with your applications, all asynchronously. There is a well defined protocol to be used between mongrel2 and a backend handler (your app). Wsgid is a generic mongrel2 handler that speaks both mongrel2 protocol and WSGI. This makes it possible to run your python webapp written with any WSGI compliant framework. Wsgid has built-in Django support but has also a generic way to load your WSGI application object directly. It's possible