⌘K
Flycodx

Design Twitter/X at Scale

Design Twitter/X at Scale

HardSystem Design0% accepted

Design Twitter at scale: 300M MAU, 500M tweets/day, home timeline for any user in <800ms. Cover tweet creation, follower graph, timeline generation, and search.

Approach

Design Twitter covering tweet storage, fan-out, timeline, and search.

Input

Celebrity with 20M followers tweets

Output

No fan-out; instead injected at read time for followers timeline

Scenarios & Expected Answers

Sign in to continue

Create a free account to view answers and mark progress.

  • Free forever — no credit card
  • Theory Q&A with detailed answers
  • Points, streaks & leaderboards
Auto Save On