Tornado Study Notes 3 Tornado started

Source: Internet
Author: User

This note was summed up when I read the book.

Tornado is ideal for creating a scalable community program, a real-time analytics engine, and a restful API. Developed by Bret Taylor and others for FriendFeed, after being acquired by Facebook.

Most community programs update in real time to show new messages, status changes, and user prompts, requiring the client to remain connected to wait for the server to respond. Servers that use threading mode, such as Apache and its comet implementations, can easily be unable to accept new requests because they reach the maximum thread pool value.

Tornado uses asynchronous methods to address the limitations of a line server, as compared to the way the buffer pool is managed using thread mode. Servers that use asynchronous mode include node. js, lighttpd, and Tornado use a cooperative multitasking approach to scale out to address the increasing load.

An asynchronous server pauses the current execution while the current request waits for data, and explicitly transfers control to other requests that are in the waiting state, and the callback is used when data is ready and results are returned.


This article is from the "LifeStage" blog, make sure to keep this source

Tornado Study Notes 3 Tornado started

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.