Quick Answer: In 2012, Twitter precomputed user feeds in Redis lists to sustain 300,000 timeline reads per second via fan-out on write. However, high-profile accounts like Lady Gaga triggered millions of concurrent writes per tweet. Twitter resolved this "celebrity problem" by implementing a hybrid architecture: standard accounts push to follower lists, while high-follower accounts are merged dynamically at read time.
Whenever I chat with engineers about distributed systems, feed architecture is one of my favorite topics to explore. On paper, delivering a chronological stream of updates seems trivial. In practice, wildly lopsided read-to-write ratios will quickly overwhelm traditional architectures.
Back in 2012, Twitter ran directly into this scaling barrier. Their users read timelines far more often than they tweeted, pushing platform read traffic to 300,000 requests per second. Calculating feeds dynamically at runtime using relational queries simply wasn't viable.…