Jump to content

Gunicorn: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Curly Turkey moved page Gunicorn (HTTP server) to Gunicorn over redirect: nothing to disambiguate from
Added architecture of Gunicorn
Line 25: Line 25:
The '''Gunicorn''' "Green Unicorn" is a [[Python (programming language)|Python]] [[Web Server Gateway Interface]] (WSGI) [[Web server|HTTP server]]. It is a pre-[[fork (operating system)|fork]] worker model, [[porting|ported]] from [[Ruby (programming language)|Ruby's]] [[Unicorn (web server)|Unicorn]] project. The Gunicorn server is broadly compatible with a number of [[web framework]]s, simply implemented, light on server resources and fairly fast.<ref>[http://gunicorn.org/ Gunicorn-Python WSGI HTTP Server for UNIX]</ref>
The '''Gunicorn''' "Green Unicorn" is a [[Python (programming language)|Python]] [[Web Server Gateway Interface]] (WSGI) [[Web server|HTTP server]]. It is a pre-[[fork (operating system)|fork]] worker model, [[porting|ported]] from [[Ruby (programming language)|Ruby's]] [[Unicorn (web server)|Unicorn]] project. The Gunicorn server is broadly compatible with a number of [[web framework]]s, simply implemented, light on server resources and fairly fast.<ref>[http://gunicorn.org/ Gunicorn-Python WSGI HTTP Server for UNIX]</ref>


==Features==
== 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 [[Web Server Gateway Interface|WSGI]], [[web2py]], [[Django (web framework)|Django]] and [[Python Paste|Paster]]
* Natively supports [[Web Server Gateway Interface|WSGI]], [[web2py]], [[Django (web framework)|Django]] and [[Python Paste|Paster]]
* Automatic worker [[process management (computing)|process management]]
* Automatic worker [[process management (computing)|process management]]

Revision as of 19:27, 19 September 2017

Gunicorn
Original author(s)Benoit Chesneau
Developer(s)Gunicorn Developers
Initial release20 February 2010; 14 years ago (2010-02-20)
Stable release
19.7.1 / March 21, 2017; 7 years ago (2017-03-21)[1]
Repository
Written inPython
Operating systemCross-platform
Available inEnglish
TypeWeb server
LicenseMIT License
Websitewww.gunicorn.org Edit this at Wikidata

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

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

See also

References

  1. ^ "Releases - benoitc/gunicorn". Retrieved 12 April 2017 – via GitHub.
  2. ^ Gunicorn-Python WSGI HTTP Server for UNIX
  3. ^ Gunicorn 19.3 Documentation: Requirements

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