Facebook released as an open source tool the web framework that powers the functionality of FriendFeed. This is part of Facebook's open source initiative. The Framework called Tornado Web Server is written in Python and was designed to handle large amounts of traffic and thousands of simultaneous connections.
Tornado Web Server
Facebook Tornado: FriendFeed’s Real-Time Web Framework Goes Open Source