Tornado (web server)
tornado
|
|
---|---|
Basic data
|
|
developer | Facebook , Bret Taylor |
Publishing year | 2009 |
Current version |
6.0.4 ( March 4, 2020 ) |
operating system | platform independent |
programming language | python |
category | Web server , web framework |
License | Apache license 2.0 |
www.tornadoweb.org |
Tornado is a free , non-blocking web server and a simple micro web framework in Python . Development began at FriendFeed and was released under an open source license after Facebook acquired FriendFeed .
power
Requests to the Tornado web server are not processed in a blocking manner (under Linux with epoll , under BSD with kqueue ) and thus enables a very large number of requests to be processed and maintained at the same time. The development took place with the background of the C10K problem and benchmarks show numbers of almost 10,000 processed requests per second.
server | Set up | Requests per second |
---|---|---|
tornado | With the common productive implementation of 4 tornado instances and nginx as a proxy. | 8213 |
tornado | Standalone | 3353 |
Django | Apache / mod wsgi | 2223 |
web.py | Apache / mod_wsgi | 2066 |
CherryPy | Standalone | 785 |
Modules
Tornado provides mixins for the authentication systems OpenID and OAuth , with a simplified connection to the authentication interfaces of Google , Facebook Connect and Twitter .
With the decorator tornado.web.asynchronous, requests are not terminated directly, but maintained. A sample application of Tornado shows the use in the FriendFeeds chat system.
In addition, the common components of a micro web framework are available:
- Management of cookies (with the option to sign them to check their authenticity ) and sessions
- Template system
- Cross-site scripting protection
- Multilingual support
Individual evidence
- ↑ Release 6.0.4 . March 4, 2020 (accessed March 4, 2020).
- ↑ Home of the Tornado Project ( English ) Retrieved on April 5, 2013.
- ↑ List of OpenSource Projects from Facebook ( English ) Retrieved on April 5, 2013.
- ↑ Talking about Tornado ( English ) on September 25, 2009. Accessed October 22, 2013.
- ^ Facebook Acquires FriendFeed ( English ) September 10, 2009. Accessed October 22, 2013.
- ↑ Installation note for Tornado ( English ) Retrieved on April 5, 2013.
- ↑ Dory, Michael, Adam Parrish, and Brendan Berg. Introduction to Tornado. O'Reilly Media, 2012.
- ↑ Tornado: Facebook's Real-Time Web Framework for Python ( English ) September 11, 2009. Archived from the original on December 23, 2009. Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. Retrieved October 22, 2013.