Gunicorn

From Wikipedia, the free encyclopedia
  (Redirected from Gunicorn (HTTP server))
Jump to: navigation, search
Gunicorn
Gunicorn logo 2010.svg
Original author(s) Benoit Chesneau
Developer(s) Gunicorn Developers
Initial release 20 February 2010; 7 years ago (2010-02-20)
Stable release
19.7.1 / March 21, 2017; 5 months ago (2017-03-21)[1]
Development status Active
Written in Python
Operating system Cross-platform
Available in English
Type Web server
License MIT License
Website gunicorn.org

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.[2]

Architecture[edit]

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[edit]

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

See also[edit]

References[edit]

External links[edit]

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