Tornado (web server)

from Wikipedia, the free encyclopedia
tornado

TornadoWebServerLogo.png
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.

Performance comparison with the AMD Opteron, 2.4 GHz and four cores
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:

Individual evidence

  1. Release 6.0.4 . March 4, 2020 (accessed March 4, 2020).
  2. Home of the Tornado Project ( English ) Retrieved on April 5, 2013.
  3. List of OpenSource Projects from Facebook ( English ) Retrieved on April 5, 2013.
  4. Talking about Tornado ( English ) on September 25, 2009. Accessed October 22, 2013.
  5. ^ Facebook Acquires FriendFeed ( English ) September 10, 2009. Accessed October 22, 2013.
  6. Installation note for Tornado ( English ) Retrieved on April 5, 2013.
  7. Dory, Michael, Adam Parrish, and Brendan Berg. Introduction to Tornado. O'Reilly Media, 2012.
  8. 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. @1@ 2Template: Webachiv / IABot / developers.facebook.com