Real-time technology of Facebook open-source friendfeed

Source: Internet
Author: User

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.

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: info-contact@alibabacloud.com 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.