Tornado is a relatively simple, non-obstacle web server architecture written in Python. It is used to process tens of thousands of simultaneous interfaces and smooth real-time web services. Although similar to some existing web architectures written in Python, such as Google diango, Tornado focuses more on speed and can process massive concurrent traffic.
Bret Taylor, co-founder of friendfeed, introduced more in his blog. He said: open-source tornado, friendfeed and Facebook expect third parties to be able to build real-time web services. For example, it looks like the comment system of friendfeed.
Taylor believes that the three key parts of Tornado are:
Complete basic modules used to build websites. Tornado includes built-in functional modules that are the most difficult and annoying to solve network development, including templates, signed cookies, user authentication, localization, and aggressive static file caching, cross-Site Request Forgery protection and third-party authentication similar to Facebook connect. Developers can freely combine tornado and other architectures as needed.
Real-time service. Tornado supports a large number of simultaneous information connections. Tornado can be used to conveniently write real-time services over HTTP or long polling. You must know that each active user of friendfeed maintains an open path to connect to the friendfeed server.
High performance. Tornado is faster than most web architectures written in Python. According to some experiments, Tornado is four times faster than the general architecture.
In addition, Tornado is a core component of the infrastructure used to run the real-time functionality of friendfeed, and Facebook will continue to maintain it. Tornado.