Design Video Download, Progress, and Recommendations
Support video playback and resumable offline downloads while synchronizing progress and feeding recommendations.
Problem statement
For this exercise, assume you are designing video download, progress, and recommendations. Support video playback and resumable offline downloads while synchronizing progress and feeding recommendations.
Define a coherent first production version that satisfies the listed requirements and scale while making failures and degraded behavior visible.
What to build
- Serve adaptive video playback and authorize expiring, resumable offline downloads over unstable networks.
- Synchronize watch progress across devices with deterministic conflict handling.
- Emit viewing events for recommendations without blocking playback.
At scale
- For this exercise, assume 50 million daily viewers and 20 million concurrent streams at peak.
- Playback startup targets two seconds p95 and progress sync five seconds p95.
- Offline licenses expire within 30 days and viewing history is retained for one year.