Skip to content
All interviews

Twitter home timeline

Serve home timelines at hundreds of thousands of reads per second. Twitter's answer was fan-out on write into in-memory timelines, with celebrities merged in at read time — a hybrid that bounds both read cost and write amplification.

Notes and ratings save in this browser. Completing self-assessment records your progress.

45:00

Requirements checklist

Clarifying questions
  • How skewed is the follower distribution?
  • How fresh must the home timeline be?
  • Ranked or chronological?
  • How far back must the timeline paginate?

requirements

Suggested time: about 6 minutes. Explicit staleness budget and celebrity behaviour.