|
|
|
@ -27,6 +27,22 @@ For example, to run a Flask application with 4 worker processes (``-w
|
|
|
|
|
.. _eventlet: http://eventlet.net/ |
|
|
|
|
.. _greenlet: https://greenlet.readthedocs.io/en/latest/ |
|
|
|
|
|
|
|
|
|
uWSGI |
|
|
|
|
-------- |
|
|
|
|
|
|
|
|
|
`uWSGI`_ is a fast application server written in C. It is very configurable |
|
|
|
|
which makes it more complicated to setup than gunicorn. |
|
|
|
|
|
|
|
|
|
Running `uWSGI HTTP Router`_:: |
|
|
|
|
|
|
|
|
|
uwsgi --http 127.0.0.1:5000 --module myproject:app |
|
|
|
|
|
|
|
|
|
For a more optimized setup, see `configuring uWSGI and NGINX`_. |
|
|
|
|
|
|
|
|
|
.. _uWSGI: http://uwsgi-docs.readthedocs.io/en/latest/ |
|
|
|
|
.. _uWSGI HTTP Router: http://uwsgi-docs.readthedocs.io/en/latest/HTTP.html#the-uwsgi-http-https-router |
|
|
|
|
.. _configuring uWSGI and NGINX: uwsgi.html#starting-your-app-with-uwsgi |
|
|
|
|
|
|
|
|
|
Gevent |
|
|
|
|
------- |
|
|
|
|
|
|
|
|
|