Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: gunicorn with uvicorn workers #3973

Merged
11 changes: 11 additions & 0 deletions docs/topics/deployment/manually-with-asgi-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,14 @@ ASGI server with the following command:

[INFO] Starting granian
[INFO] Listening at: 127.0.0.1:8000

Gunicorn with Uvicorn workers
-----------------------------

.. important:: **Deprecation Notice**

The Gunicorn+Uvicorn pattern is considered legacy for ASGI deployments since `Uvicorn 0.30.0+ <https://github.com/encode/uvicorn/releases/tag/0.30.0/>`_ includes native worker management.

Uvicorn added a new multiprocess manager, that is meant to replace Gunicorn entirely. Refer to the pull request `#2183 <https://github.com/encode/uvicorn/pull/2183/>`_ for implementation details.

For new deployments, use Uvicorn directly.
Loading