
The Gunicorn "Green Unicorn" (pronounced jee-unicorn or gun-i-corn) is a
Python Web Server Gateway Interface (WSGI)
HTTP server
An HTTP server is a computer (software) program (or even a software component included in an other program) that plays the role of a server in a client–server model by implementing the ''server part'' of the HTTP and/or HTTPS network protocol ...
. 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.
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
The Web Server Gateway Interface (WSGI, pronounced ''whiskey'' or ) is a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language. The current version of WSGI, v ...
,
web2py,
Django and
Paster
* Automatic worker
process management Process management may refer to:
* Business process management
** Business Process Management Journal
** Dynamic business process management
** International Conference on Business Process Management
** Social business process management
* Manag ...
* Simple Python configuration
* Multiple worker configurations
* Various server hooks for extensibility
* Compatible with Python 2.6+ and Python 3.2+
Gunicorn 19.3 Documentation: Requirements
/ref>
See also
* Comparison of web server software
* Comparison of application servers
References
External links
*
PyPI listings
{{CC-notice, cc=by3, url=http://gunicorn.org/
Free web server software
Free software programmed in Python
Web server software for Linux