Design a News Feed

Design a News Feed

Fan-out, ranking and the celebrity problem
Free
4h · 5 lessons
Overview

Each one worked end to end: requirements, estimates, the first diagram, the bottleneck that appears at scale, and the two or three deep dives an interviewer will push you into.

This module is 07.2 of the 6 in Design Case Studies. It runs about 4 hours across 5 lessons, and closes with Feed — Build a feed for 100 million users where one of them has 40 million followers.

Lessons
1. Requirements and the feed contract

Case study · 25 minutes

2. Fan-out on write versus on read, costed

Case study · 40 minutes

3. The hybrid, and where the threshold sits

Case study · 35 minutes

4. Ranking, and keeping it out of the hot path

Case study · 35 minutes

5. Pagination over a shifting timeline

Case study · 30 minutes

Module information
Duration
4 hours
Lessons
5
Level
Advanced
Track
Design Case Studies
Drill
Feed
Price
Free

Related modules

Design a Chat System
4 hours
5 lessons
Advanced
Design a Chat System
Free
07.3
Design a Rate-Limited Public API
3 hours
5 lessons
Advanced
Design a Rate-Limited Public API
Free
07.4
Design a Video Platform
4 hours
5 lessons
Advanced
Design a Video Platform
Free
07.5
Design a Payment System
4 hours
5 lessons
Advanced
Design a Payment System
Free
07.6