🐦Twitter / Social Feed
0 nodes · 0 edgesHint 1 — locked
Hint 2 — locked
Hint 3 — locked
🐦
Twitter / Social Feed
● Advanced45–60 min
Problem
Build a social media platform like Twitter. Users post short messages (tweets), follow others, and see a personalized home timeline of tweets from accounts they follow. The system must handle 500M users, 500K tweets/minute, and serve timelines to 200M daily active users in real-time.
Functional Requirements
- Post, delete, and retweet messages (≤280 characters)
- Follow/unfollow users; view followers/following
- Home timeline: real-time feed of recent tweets from followed accounts
- Trending topics (global and regional)
- Full-text tweet search
- Like, reply, and quote-tweet
Non-Functional
- 500M users, 200M DAUs, 500K tweets/min
- Home timeline load < 500 ms p99
- Tweet delivery (fanout) within 5 s of posting
- 99.99% timeline availability
Prerequisites
Fan-out patternsCDNCaching at scaleSocial graphSearch
🐦
Design your Twitter / Social Feed
Drag components from the Brief panel → switch to Components tab
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
UML
15
Needs Work
Click a dimension to see what's missing. Score updates as you design.
Speed
RPS
Hit Play to start simulation00:00