Gunicorn

The Gunicorn "Green Unicorn" (pronounced jee-unicorn)[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]

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

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]
gollark: Wait, what *is* a "rout"?
gollark: Mass routing?
gollark: If humans are acting rationally at achieving some sort of hidden goalset, you have to ask what that actually is.
gollark: But it's not toward actual stated goals.
gollark: You can only really say something is "rational" as a way to achieve some goals, not just objectively "rational" on its own. So arguably humans are somewhat rationally maximizing short-term happiness. *But*, isn't happiness at least partly just a heuristic for decision-making *too*?

See also

References

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

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.