Facebook opens the Kimono on how they increased their speed twofold

Posted by on February 19, 2010
 

Very few sites face the technical challenges that Facebook does. Recent data shows that it has replaced Yahoo as the #2 most visited site on the web.

Obviously, this poses some very unique and serious technical challenges. Recently, Jason Sobel wrote a great blog post titled “Making Facebook 2x Faster” about how they broke the challenges down into 3 parts—network time, generation time, and render time—and tackled each problem separately. The combination of these three metrics, which, honestly, is the one metric every busy site owner should be monitoring, is what they call “Time-to-Interact” —that is, the time that a user has to wait for something to happen.

The interesting thing is that Facebook is obviously at the physical limits of all the current techniques and technologies of building highly scalable web applications. This means that, instead of being able to follow others, they are having to blaze the trail themselves.

The blog post is lengthy but high level; while there is no discussion of the exact techniques or technologies they deployed, it is well worth the read. The techniques they used might not apply to many sites, but every web architect needs to see the problems they face and understand why they are important.


About the author—Cal Evans is a veteran of the browser wars. (BW-I, the big one) He has been programming for more years than he likes to remember but for the past [redacted] years he's been working strictly with PHP, MySQL and their friends. Cal regularly speaks at PHP users groups and conferences, writes articles and wanders the net looking for trouble to cause. He blogs on an "as he feels like it" basis at Postcards from my life.