Topics:
Full Nelson
How To Scale Apps The Facebook Way (Video)
You can watch the crucial clip from Schroepfer's talk in the video below.
Just to put it in perspective, users spend collectively 8 billion minutes every day on Facebook. Those users upload 2 billion photos per month, and it stores more than 20 billion photos. Facebook measured a single day with 1.2 million photos per second. And that's just photos. Add the 15,000 Facebook Connect implementations and the 5 billion API calls per day and the scaling challenges this brings is daunting, to say the least. At some point it can't be about buying more or bigger machines. To provide massive queries against a distributed database in real time required building Multifeed, which is a distributed system with in memory cache of recent activity (it handles 50 million operations per second). But Facebook has to fil this data out with the photos and comments and likes and other information that enriches a Facebook page. To do this, it uses Memcache, an open source tool that it customized to fetch all of the data in real time. In fact, Facebook scaled Memcache to run five times faster than its original performance.
Follow Fritz Nelson and InformationWeek on Twitter, Facebook, YouTube and LinkedIn:
|
| Sign Up Now For InformationWeek News Alerts |