Facebook Releases Core FriendFeed Technology as Open Source

by Sam Dean - Sep. 11, 2009Comments (4)

As part of Facebook's open source initiative, it has open sourced a core piece of FriendFeed, which it announced it was acquiring only a month ago. Dubbed Tornado Web Server, it's "a non-blocking web server" and collection of tools written in Python and designed for high levels of scalability. Facebook Director of Products Bret Taylor has a blog post up about it, and says it includes a complete array of site building blocks, including templates, signed cookies, user authentication, localization, aggressive static file caching, cross-site request forgery protection, and third party authentication. There is complete documentation here, and a link for downloading Tornado. Here are more details.

As David Recordan notes on the Facebook Developers blog:

"FriendFeed, which we recently acquired, built their entire site to support real-time updates...[It can} handle thousands of simultaneous connections, making it ideal for real-time Web services."

Recordan also supplies the following chart showing how speedy Tornado is compared to existing web frameworks written in Python (Django, Google's webapp, web.py):

 

 

 

 

 

 

 Recordan adds:

"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...we believe in releasing generically useful infrastructure components as open source as a way to increase innovation across the Web."

Facebook continues to make substantial contributions to open source like this one, but it also remains on the heat seat for the underpinnings of its own site. Just this week, a Delaware Court ordered the company to turn over all of its source code to Leader Technologies, due to alleged patent infringement. With 250 million users and counting, the company has its own internal development challenges, but it's good to see Facebook giving back to open source.



Gerard Braad uses OStatic to support Open Source, ask and answer questions and stay informed. What about you?



4 Comments
 

You have to commend Facebook for releasing a lot of their internal IP (created or acquired) as FOSS. Their platform, their memcached implementation, now this - kudos, FB - keep it up!


0 Votes

It is interesting that Facebook is built using PHP and FriendFeed, in true Google DNA fashion, has been built using Python. I wonder if that had anything to do with the quick decision.


0 Votes

Yes, the Python usage vs PHP usage is very interesting. Even though there is a lot of cross use, I am quite sure that the 'integration' is not something that is - (a) - needed and (b) - strategic. They were acquired for their user base, so getting some good karma is a bonus!


0 Votes

This technologies already has made lot of news when it was linked with Twitter


The Ab Rocket


0 Votes
Share Your Comments

If you are a member, to have your comment attributed to you. If you are not yet a member, Join OStatic and help the Open Source community by sharing your thoughts, answering user questions and providing reviews and alternatives for projects.