The InformationWeek -- Blogs

Full Nelson

Topics:   Full Nelson

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share
  • icon

How To Scale Apps The Facebook Way (Video)


Posted by Fritz Nelson, Oct 22, 2009 04:13 PM

As critical and operational applications drive today's business, one of the biggest challenges most organizations face is how to scale those applications (especially as they become distributed) and their data. Facebook is a great example of one of the most distributed, massive applications around. At Web 2.0, Facebook's VP of Engineering, Mike Schroepfer, talked about how they tackle this challenge.


You can watch the crucial clip from Schroepfer's talk in the video below.



Schroepfer pointed out that most traditional architectures scale in linear fashion -- more application usage and more data, add more servers, split up the databases. Facebook was no different. It started at one site (Harvard) and even when it spread to other schools, those schools weren't connected. But this changed in 2006 and instantly Facebook had the challenge of a huge network with massive amounts of data and overwhelming communication and collaboration.

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.


Fritz Nelson is an Executive Editor at InformationWeek and the Executive Producer of TechWebTV. Fritz writes about startups and established companies alike, but likes to exploit multiple forms of media into his writing.

Follow Fritz Nelson and InformationWeek on Twitter, Facebook, YouTube and LinkedIn:

Twitter
@fnelson
@InformationWeek@IWpremium


Facebook
Fritz Nelson Facebook Page
InformationWeek Facebook Page

YouTube
TechWebTV

LinkedIn
Fritz Nelson on LinkedIn
InformationWeek

« Alternative IT | Main | Adobe's Opportunity »



Sign Up Now
For InformationWeek News Alerts




This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.




 
 

  1. Detecting Scalability Problems With Intel Parallel Universe Portal
  2. Just Say No To SFAQL Parallelism
  3. QuickThread: A New C++ Multicore Library


Join The InformationWeek Group On LinkedIn


                           


  1. Apple Steps Into AT&T-Verizon Ad War
  2. Apple Says Users To Blame For iPhone Virus
  3. HP Picks Worst Name Ever For New Smartphone
  4. AT&T's iPhone Stranglehold Ending June 2010?


  1. Apple Accepts PhoneGap For iPhone Development
  2. Apple Seeks Permanent Halt To Psystar Mac Clones
  3. NIST Director Sees Key Role In Emerging Technologies
  4. Sprint Gets Nod To Buy iPCS
  5. FCC Chair Wants More Broadband
  6. Gartner: Data Center Problems Ahead

 

  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag

  DECEMBER 2008
NOVEMBER 2008
OCTOBER 2008
SEPTEMBER 2008
AUGUST 2008
JULY 2008
JUNE 2008
MAY 2008
  APRIL 2008
MARCH 2008
FEBRUARY 2008
JANUARY 2008
DECEMBER 2007
NOVEMBER 2007
OCTOBER 2007
SEPTEMBER 2007