Whiteboard exercise. Try the problem cold, then reveal the rubric to self-score.
Out of 10 points45 min whiteboardReference solution โ
01
Prompt
Design a photo + short-video sharing app at planet scale. 2B MAU, ~95M uploads/day, read-heavy ~100:1. Home feed blends followed accounts with algorithmic recommendations; reels feed is purely algorithmic.
Time budget: 45 min whiteboard. Draw architecture, estimate numbers, discuss tradeoffs.
02
Hints (progressive โ click to reveal)
Hint 1
Split the problem into (a) media pipeline, (b) feed, (c) reels ranker. They have different architectures and different read/write ratios.
Hint 2
For feed: hybrid fan-out. Push-on-write to normal users, pull-on-read for celebrities. The threshold is the design choice.
Hint 3
For media: direct-to-S3 uploads with pre-signed URLs; async transcoding; CDN with tiered storage for cost.