Nick Kallen discusses how Twitter handles large amounts of data in real time by creating 4 data types and query patterns -tweets, timelines, social graphs, search indices-, and the DBs storing them.
Nick Kallen is a Systems Engineer at Twitter. He is the author of Arel, NamedScope, Cache Money, and Screw.Unit, and co-creator of FlockDb, Twitter's distributed graph database.
QCon is a conference that is organized by the community, for the community.The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community.QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.
I have a question
José González D'Amico
In your timeline you see your friends' (AKA followees) tweets, not your followers'. And if I remember correctly, in the Twitter API source_id is a field of Tweets, not of Friends.
Perhaps the query should be this?
SELECT * FROM tweets
WHERE source_id IN
WHERE destination_id = ?)
ORDER BY created_at DESC