Article · Wikipedia archive · Last revised Jun 14, 2026

Gunicorn

The Gunicorn "Green Unicorn" is a Python Web Server Gateway Interface (WSGI) HTTP server. It is a pre-fork worker model, ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with a number of web frameworks, simply implemented, light on server resources and fairly fast. It is often paired with Nginx, as the two have complementary features.

Last revised
Jun 14, 2026
Read time
≈ 1 min
Length
226 w
Citations
6
Source
Gunicorn
Original authorBenoit Chesneau
DeveloperGunicorn Developers
Initial release20 February 2010 (2010-02-20)
Stable release
26.0.01 Edit this on Wikidata / 5 May 2026 (5 May 2026)
Written inPython
Operating systemCross-platform
TypeWeb server
LicenseMIT License
Websitegunicorn.org Edit this at Wikidata
Repository
Benoit Chesneau, author of Gunicorn source ↗

The Gunicorn "Green Unicorn" (pronounced jee-unicorn or gun-i-corn)2 is a Python Web Server Gateway Interface (WSGI) HTTP server. It is a pre-fork worker model, ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with a number of web frameworks, simply implemented, light on server resources and fairly fast.3 It is often paired with Nginx, as the two have complementary features.4

Architecture

Server model5

  • Central master process to manage the workers
  • Requests are handled by worker processes
  • Components:
    • Master
    • Sync workers
    • Async workers
    • Tornado workers
    • AsyncIO workers

Features

  • Natively supports WSGI, web2py, Django and Paster
  • Automatic worker process management
  • Simple Python configuration
  • Multiple worker configurations
  • Various server hooks for extensibility
  • Compatible with Python 2.6+ and Python 3.2+6
See also

See also

References

References

External links

 This article incorporates text available under the CC BY 3.0 license.