ie8 fix

Between the Lines

Larry Dignan, Andrew Nusca and Rachel King

Facebook outlines history, infrastructure behind Timeline

By | January 5, 2012, 2:26pm PST

Summary: Facebook’s Timeline originally started as a hackathon project and evolved into completely changing the way the profile pages look today.

What originally started as a hackathon project and evolved into completely changing the way the profile pages look today, Facebook’s Timeline required a lot of changes in the infrastructure behind the scenes.

First, the project commenced with a four-person team consisting of two full-time engineers, an engineering intern, and a designer. Together, they managed to build a working demo in a single night. (That’s amazing when you consider how long it took for Timeline to roll out to users between that hackathon night in 2010, to the announcement in September 2011, to finally debuting live in December.)

Eventually, the team was obviously bumped up, and by early 2011, it included a full development team split up into groups covering design, front-end engineering, infrastructure engineering, and data migrations.

At some point, the team determined that it needed to build a completely new infrastructure that could handle displaying data from past weeks and years rather than just what was present from the previous few days.

Facebook infrastructure engineer Ryan Mack explained on the Facebook blog that one of the “key priorities was eliminating technical risk by keeping the system as simple as possible and relying on internally-proven technologies.”

Basically, Timeline is built upon four of Facebook’s core technologies:

  • MySQL/InnoDB for storage and replication
  • Multifeed (the technology that powers News Feed) for ranking
  • Thrift for communications
  • Memcached for caching

One of the solutions and keys to the infrastructure is the Timeline aggregator, built on top of a database and provides a set of story generators supports everything from “geographically clustering nearby check-ins to ranking status updates.” Essentially, this is how the Timeline determines which stories should be larger than others, what gets prioritized — an automatic page layout editor of sorts.

This also includes caching, which is immensely important considering how much past (and future) data needs to be considered if it is to be so easily accessible for 800 million members and counting.

Thus, that’s where Memcached comes in, and Mack boasts that results from big queries (i.e. all posts in a single year) can be cached compactly yet for a long period of time.

For a more in-depth and incredibly detailed version of how this all went down, check out Mack’s post on the official Facebook blog.

Related:

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Rachel King is a staff writer for ZDNet based in San Francisco.

Disclosure

Rachel King

Rachel King has no business relationships, affiliations, investments, or other potential conflicts of interest relating to the content posted in this blog.

Biography

Rachel King

Rachel King is a staff writer for CBS Interactive in San Francisco. Before serving as a contributing editor at ZDNet in New York City for two years, she previously worked for The Business Insider, FastCompany.com, CNN's San Francisco bureau and the U.S. Department of State. Rachel has also written for MainStreet.com, Irish America Magazine and the New York Daily News, among others. Rachel has a B.A. in Mass Communications and History from the University of California, Berkeley and a M.S. in Journalism from Columbia University, where she served as art director for the student magazine, Plated.

6
Comments

Join the conversation!

Just In

RE: Facebook outlines history, infrastructure behind Timeline
rshol 5th Jan
@SuperComputerGuru
Can I make it be a single column that always scrolls in chronological order? Can I ditch the cover photo? If not it is neither beautiful or useful to me.
While the mechanics may be interesting, it can't change the fact that timeline is awful both in terms of presentation and the granularity of privacy controls it allows users. I don't want it and neither do many other FB users. They need to give us the option to remain on the old interface.
@rshol Actually, I find it to be well designed, easily modified and useful.
@SuperComputerGuru
Can I make it be a single column that always scrolls in chronological order? Can I ditch the cover photo? If not it is neither beautiful or useful to me.
for the timeline haters, there is a method that actually works for disabling it, go here for the details: http://fbpurity.com/disable-facebook-timeline.htm
@misterzee It's silly. Make your browser pretend it's IE7? Sheesh.
@SuperComputerGuru it might sound silly, but it works, its the only way to disable timeline that works... take it or leave it

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix