bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
Learn/System Design/Design a News Feed
System Design•Design a News Feed

Design a News Feed: Tradeoffs & Review

Design a home timeline (Twitter/Instagram style) that shows recent posts from accounts a user follows.

How to approach it

Close by naming what breaks first under load, what you would cut under time pressure, and the one sentence that captures the system’s essence. Identifying the first bottleneck and the consistency/latency tradeoffs is the strongest senior signal you can give.

What breaks first

Fan-out write amplification when a high-follower account posts.

What to cut under pressure

  • ranking (start chronological)
  • media transcoding (separate service)

Remember

The whole problem is the read/write asymmetry; the hybrid fan-out is the senior-signal answer.

Previous

Design a News Feed: Deep Dive

Next chapter

Design a Rate Limiter

Start with Design a Rate Limiter: Requirements & Scope

This chapter

Overview
7

Lessons

14m

Read time

1. Design a News Feed: Requirements & Scope2. Design a News Feed: Capacity Estimation3. Design a News Feed: API & Data Model4. Design a News Feed: High-Level Architecture5. Design a News Feed: Scaling6. Design a News Feed: Deep Dive7. Design a News Feed: Tradeoffs & Review

On this page

How to approach itWhat breaks firstWhat to cut under pressure