News Feed is a Robot!

News Feed is a Robot!
News Feed may not walk around downtown Palo Alto on awesome hydraulic legs handing out customized stories to people on the street (yet) but it _is_ a robot. While we sleep it stays up sifting through the enormous volumes of information about our friends on Facebook and picks just the best pieces to show us. While we eat it is keeping track of whom we seem to be keeping an eye on recently as well as remembering whom we have cared about in the past. It is very discreet and never talks about this secret information to other people or systems, it just needs the information to do a better job picking stories because it thrives on people finding its stories useful and entertaining.

Let's walk through what News Feed does when it is publishing stories for me. First, it gets a list of all my friends and acquaintances on Facebook and considers how often I interact with them. Then, with full respect for all privacy settings, it gets a list of all the things my friends have done on the site since it last checked. It also looks up all the stories it could have published the previous week in case one of them needs to be updated. After looking at all that information and considering my News Feed Preferences, it picks just the few stories that are good enough for publication and puts the rest in a safe place until it gets back to me again. It does all of this for me in 0.00023 seconds.

That may not sound impressive at first, but let's look at more numbers. It takes less than an hour for News Feed to publish stories for every user on Facebook. With 17 million users on Facebook there are over 2 billion friend connections and over 5 billion actions taken every hour. That means News Feed is processing 1.4 million new user actions and 12 million previously unpublished stories every second to find just the best 13,000 stories to give our users or the top 0.1% of all possible stories.

News Feed is also growing faster and smarter all the time. It has gone from processing an average of 100 MB of data each second when we launched to over 300 MB/s now (that's like listening to 100 mp3s a second!). In fact, News Feed has been so successful it has even been getting involved with real estate; it started out in a 19 server apartment, has now signed the lease on a 109 machine house in the suburbs, and already has plans for expansion.

When we built News Feed, we thought we were building a pretty cool and innovative customized news aggregator. It turned out we built a friend who knows us so well it can show us stories we didn't even know we wanted to see. Stay tuned to your Home pages (and here in the blog) for improvements as new stories begin to bring together more data and we build systems to let News Feed get an even better idea what kind of stories you like.


Boz is a software engineer at Facebook. He doesn't anthropomorphize everything, just News Feed. Which is a robot.

Archived Posts by Date

2009
October (17)
August (10)
July (10)
June (13)
May (13)
April (13)
March (14)
2008
October (12)
August (2)
July (3)
June (6)
May (5)
April (6)
March (2)
2007
August (4)
July (4)
June (2)
May (5)
April (9)
March (8)
2006
August (4)

Archived Posts by Blogger

Subscribe to this Blog