Gunicorn
(Redirected from Gunicorn (HTTP server))
| Gunicorn | |
|---|---|
| Original author | Benoit Chesneau |
| Developer | Gunicorn Developers |
| Initial release | 20 February 2010 |
| Repository |
|
| Written in | Python |
| Engine | |
| Operating system | Cross-platform |
| Type | Web server |
| License | MIT License |

The Gunicorn "Green Unicorn" (pronounced jee-unicorn or gun-i-corn)[1] is a Python Web Server Gateway Interface (WSGI) HTTP server. It is a pre-fork worker model,[clarification needed] 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] It is often paired with Nginx, as the two have complementary features.[3]
Architecture
[edit | edit source]Server model[4]
- 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 | edit source]- 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+[5]
See also
[edit | edit source]Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
References
[edit | edit source]- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Gunicorn-Python WSGI HTTP Server for UNIX
- ^ Gunicorn and Nginx in a Nutshell
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
External links
[edit | edit source]- Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).
- PyPI listings
File:Creative Commons by small.svg This article incorporates text available under the CC BY 3.0 license.