Design a Netflix-Style Streaming Platform
Design an on-demand video platform that ingests, publishes, authorizes, and streams adaptive media to viewers at global scale.
Problem statement
The reported Amazon interview prompt was to design Netflix, an on-demand video streaming platform. The source does not provide feature details or numeric scale, so treat the fuller scope and quantities below as explicit practice assumptions rather than source facts.
Design the path from media upload and transcoding through catalog publication, authorized playback, adaptive delivery, and resumable watch progress. Keep live streaming, advertising, recommendations, and social features outside the initial scope.
What to build
- Viewers can browse and inspect a catalog of published titles available in their region.
- An authenticated, entitled viewer can create a short-lived playback session for an available title and supported device.
- The player can fetch a versioned adaptive-bitrate manifest and stream immutable media segments through edge delivery.
- The platform records watch progress so a viewer can resume a title across sessions and devices.
- Operators can upload a source asset, transcode and validate required renditions, and atomically publish or roll back a playable version.
At scale
- Source fact: an Amazon interview report named Netflix as the system-design prompt.
- The source does not supply features, traffic, catalog size, latency targets, retention, or regional requirements; candidates should identify and justify assumptions.
- Authoring assumption for practice: support on-demand video, not live streaming, for 50 million daily viewers and a peak of 5 million concurrent playback sessions distributed globally.
- Authoring assumption for practice: target playback startup within 2 seconds at p95 on a supported connection, keep rebuffering below a stated objective, and prioritize continuity for existing sessions during overload.
- Authoring assumption for practice: media masters and published renditions must be durable; catalog metadata and progress may tolerate bounded staleness, while entitlements and atomic publication must not authorize or expose invalid content.
- Authoring assumption for practice: titles may have regional rights restrictions and multiple device-specific renditions; advertising, recommendations, social features, live video, and offline downloads are out of scope.