Part 1 of 8 · 1 min read
Why this page comes first in Level 11
In this module you will
- Scope a news feed and estimate its reads, writes and cache size.
- Describe the two flows: publishing a post and building a feed.
- Compare fanout on write with fanout on read, and explain the hybrid.
- Show how the feed cache holds only ids and how a feed is filled in at read time.
- Name the five cache layers and the checks that keep the feed fresh and fair.
Level 10 built single components. A news feed joins several of them into one product that millions of people open every day. It shows the central trade-off of read-heavy systems: do work when data is written, or when it is read. The same choice returns in chat, search and file sync. The book used is "System Design Interview" by Alex Xu, chapter 11. Numbers marked "made up" only show the idea.