# Gunicorn

> Python WSGI HTTP server for UNIX

Source: https://talira.ai/catalog/gunicorn-apntafgc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [web servers / application servers](https://talira.ai/categories/web-servers/application-servers), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos[^1]
- Licence: MIT[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^4]
- Plugins: yes[^5]
- Backed by: [Benoît Chesneau](https://talira.ai/orgs/benoit-chesneau.md)

Gunicorn ('Green Unicorn') is a Python HTTP server for UNIX that runs WSGI applications from [Django](https://talira.ai/catalog/django-h3z1mj1k.md), Flask, Pyramid and any other WSGI framework, and ASGI applications from FastAPI, Starlette and Quart through its asgi worker. It uses a pre-fork worker model ported from Ruby's Unicorn: a master process manages a pool of workers, with sync, gthread, gevent and asgi worker types, graceful restarts and reloads on signals. It has beta HTTP/2 support with multiplexed streams, beta dirty arbiters for heavy workloads such as ML models, the uWSGI binary protocol and PROXY protocol, StatsD instrumentation and a configuration file or command-line settings. Its docs strongly recommend running it behind a proxy such as [nginx](https://talira.ai/catalog/nginx-nfjkekkp.md). It needs Python 3.10 or later, is MIT-licensed, and is maintained by volunteers led by Benoît Chesneau since 2010.

## Links

- Website: https://gunicorn.org/
- GitHub: https://github.com/benoitc/gunicorn
- Docs: https://gunicorn.org/quickstart/

## Problems it solves

- run my Django or Flask app in production instead of the development server
- serve a FastAPI app with multiple worker processes
- a WSGI server to put behind nginx
- restart Python web workers gracefully without dropping requests during a deploy
- run Python web app workers with threads or gevent for many concurrent connections
- send web server metrics to StatsD or Datadog
- keep a heavy ML model loaded in separate processes behind my Python web app

## Features

- WSGI support for Django, Flask, Pyramid and any WSGI framework
- ASGI support for FastAPI, Starlette and Quart
- worker types: sync, gthread, gevent and asgi
- pre-fork master and worker process model with graceful worker management
- HTTP/2 with multiplexed streams (beta)
- dirty arbiters for heavy workloads such as ML models (beta)
- uWSGI binary protocol for nginx integration
- PROXY protocol support
- StatsD and DogStatsD instrumentation
- configuration by file, environment or command line; signal handling for reloads
- Docker deployment guide

## Limitations

- Runs only on UNIX: it is a server for UNIX-like systems, not Windows[^1][^2]
- Meant to sit behind a proxy: the docs strongly recommend putting it behind a proxy server such as nginx[^1][^2]
- HTTP/2 is still beta: HTTP/2 support and dirty arbiters are marked beta[^1][^2]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- backed by Benoît Chesneau
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Puma](https://talira.ai/catalog/puma-qdbe2rmt.md): A Ruby/Rack web server built for parallelism

## Sources

[^1]: https://github.com/benoitc/gunicorn (checked 22 Nov 2026)
[^2]: https://gunicorn.org/deploy/ (checked 22 Nov 2026)
[^3]: https://github.com/benoitc/gunicorn/blob/master/LICENSE (checked 22 Nov 2026)
[^4]: https://gunicorn.org/ (checked 22 Nov 2026)
[^5]: https://gunicorn.org/reference/settings/ (checked 22 Nov 2026)
