Loading…
Loading…
Scale journey
Early days (~50K users)
Stage 1 of 5
A simplified teaching path inspired by public talks and posts — not an exact history of Twitter. Stages are ordered the way you meet each problem, so some of what breaks is a teaching step rather than something Twitter lived through.
Signature move
Rather than assemble each timeline the moment it is read, Twitter writes every new tweet straight into all of its followers' timelines up front, so reading a timeline is instant. The exception is celebrities: fanning one tweet out to a hundred million followers would be a hundred million writes, so those accounts' tweets are merged in at read time instead. The real design is the hybrid — cheap fan-out for ordinary users, on-the-fly assembly for the few everyone follows.
Comfortable here. Drag the traffic up and watch what gives way first.
Now try building one of these architectures from a blank canvas — you're scored on the services you place and how you wire them.