Skip to content

Commit 534fea5

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#32 from gggritso/patch-1
Added a blurb about Nginx and gUnicorn, fixed a small typo in the Mongre...
2 parents 8cc1fb0 + 61bbf26 commit 534fea5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/scenarios/web.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,22 @@ Apache + mod_python
8888
Nginx + gunicorn
8989
----------------
9090

91+
`Nginx <http://nginx.org/>`_ (pronounced "engine-x") is a web server and
92+
reverse-proxy for HTTP, SMTP and other protocols. It is known for its
93+
high performance, relative simplicity, and compatibility with many
94+
application servers (like WSGI servers). It also includes handy features
95+
like load-balancing, basic authentication, streaming, and others. Designed
96+
to serve high-load websites, Nginx is gradually becoming quite popular.
97+
98+
`gUnicorn <http://gunicorn.org/>`_ (Green Unicorn) is a WSGI server used
99+
to serve Python applications. It is a Python fork of the Ruby
100+
`Unicorn <http://unicorn.bogomips.org/>`_ server. gUnicorn is designed to be
101+
lightweight, easy to use, and uses many UNIX idioms. gUnicorn is not designed
102+
to face the internet, in fact it was designed to run behind Nginx which buffers
103+
slow requests, and takes care of other important considerations. A sample
104+
setup for Nginx + gUnicorn can be found in the gUnicorn
105+
`help <http://gunicorn.org/deploy.html>`_.
106+
91107
Mongrel2 + Brubeck
92108
------------------
93109

@@ -96,7 +112,7 @@ Mongrel2 + wsgid
96112
----------------
97113

98114
Mongrel2 is an application, language, and network architecture agnostic web server. It uses a high performance queue (zeromq) to communicate
99-
with you applications, all asynchronously. There is a well defined protocol to be used between mongrel2 and a backend handler (your app).
115+
with your applications, all asynchronously. There is a well defined protocol to be used between mongrel2 and a backend handler (your app).
100116

101117
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
102118
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

0 commit comments

Comments
 (0)