Turn uploads into playable renditions and serve viewers through unreliable networks.
Backend and product engineers designing software behavior.
Your approach: Use diagrams, tables or prose for customer contracts, state transitions and data ownership; include APIs only to the depth the question requests.
Design an on-demand video platform from resumable upload through transcoding and playback. Explain when a video becomes playable, how viewers select bitrate and how popular content is delivered. Handle failed processing, deletion and a sudden audience spike without assuming live streaming is in scope.
Declare p95 startup time for a cached video on an adequate network; state excluded network conditions.
Required target: ≤ 3 seconds
Expose only complete manifests and ready segments; represent processing failures honestly.
Define removal from discovery, authorization and cached delivery with explicit propagation limits.
Show durable upload, job identity, renditions, retries and publication.
Describe manifests, segmented delivery, bitrate selection and access checks.
Calculate ingress storage, approximate processing demand and peak egress bandwidth.
Trace a failed rendition and a cold popular video; compare origin protection strategies.