Facebook Open-Sources FriendFeed Real-Time Web Server

Facebook Open-Sources FriendFeed Real-Time Web Server

Written By
Darryl K. Taft
Darryl K. Taft
Sep 11, 2009
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Facebook has announced the open-sourcing of Tornado, a core piece of infrastructure that powers real-time Web services.

“Today, we are open-sourcing the non-blocking Web server and the tools that power FriendFeed under the name Tornado Web Server,” said Bret Taylor, Facebook’s director of products and co-founder and former CEO of FriendFeed, which Facebook now owns. Taylor made the comments in a Sept. 10 blog post. “We are really excited to open source this project as a part of Facebook’s open-source initiative, and we hope it will be useful to others building real-time Web services.”

Meanwhile, David Recordon, open programs manager at Facebook, explains that “Real-time updates have become an important aspect of the social Web that make it easier to share with friends. In March, we introduced a real-time News Feed to make the stream as relevant and engaging as possible for users. Similarly, FriendFeed, which we recently acquired, built their entire site to support real-time updates. It hasn’t been easy to build and scale these features, so today we’re open-sourcing a core piece of infrastructure called Tornado, which was originally developed by the FriendFeed team.”

The Python-based Tornado Web server was designed to handle thousands of simultaneous connections. This makes it ideal for real-time Web services, he said. Indeed, “Tornado is a core piece of infrastructure that powers FriendFeed’s real-time functionality, which we plan to actively maintain,” Recordon said. “While Tornado is similar to existing Web frameworks in Python (Django, Google’s webapp, web.py), it focuses on speed and handling large amounts of simultaneous traffic.”

That is what makes Tornado distinct from other frameworks — that it comes with all the essential building blocks for supporting real-time Web services, Facebook officials said. Added Taylor:

““Tornado comes with built-in support for a lot of the most difficult and tedious aspects of Web development, including templates, signed cookies, user authentication, localization, aggressive static file caching, cross-site request forgery protection, and third-party authentication like Facebook Connect. You only need to use the features you want, and it is easy to mix and match Tornado with other frameworks.”“

Moreover, “It is no longer just the traditional Linux, Apache, MySQL and PHP stack that make a site like Facebook or FriendFeed possible, but new infrastructure tools like Tornado, Cassandra, Hive (built on top of Hadoop), memcache, Scribe, Thrift, and others are essential,” Recordon said. “We believe in releasing generically useful infrastructure components as open source as a way to increase innovation across the Web.”

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.