It's not that they didn't do it well or anything, and they've clearly scaled up to this insane load but they aren't afaik using crazy algorithms or something special like that. They just did the obvious "we'll have a hosted app that does this AND this"