Gunicorn

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Monkbot (talk | contribs) at 20:35, 31 January 2021 (Task 18 (cosmetic): eval 2 templates: hyphenate params (1×);). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Gunicorn
Original author(s)Benoit Chesneau
Developer(s)Gunicorn Developers
Initial release20 February 2010; 14 years ago (2010-02-20)
Stable release
20.0.4 / November 27, 2019; 4 years ago (2019-11-27)[1]
Repository
Written inPython
Operating systemCross-platform
TypeWeb server
LicenseMIT License
Websitewww.gunicorn.org Edit this at Wikidata
Benoit Chesneau, author of Gunicorn

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]

Architecture

Server Model

  • 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+[4]

See also

References

  1. ^ "Releases - benoitc/gunicorn". Retrieved 12 April 2017 – via GitHub.
  2. ^ "Ambiguous Pronunciation · Issue #139 · benoitc/gunicorn". GitHub. Retrieved 2018-08-02.
  3. ^ Gunicorn-Python WSGI HTTP Server for UNIX
  4. ^ Gunicorn 19.3 Documentation: Requirements

External links

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