InterviewDryRun
System design interview · Asked at senior and staff level

Design a Video Streaming Service

How the interviewer asks it

“Design a service where creators upload videos and viewers stream them on any device.”

Want the full answer? Watch lesson 11 of the free system design course: a 22-minute video walkthrough of this question.

Typed drills are free and unlimited: the AI scores your answer against the outline below.

What the interviewer is looking for

  • Resumable, chunked uploads straight to object storage with pre-signed URLs.
  • A transcoding pipeline as a job graph: split, encode to several bitrates, package.
  • Adaptive bitrate streaming (HLS or DASH) so playback adapts to the network.
  • A CDN that serves almost all traffic, and the cost of storage and egress.
  • Metadata, search and view counts kept separate from the video path.

How to structure your answer

  1. 01

    Requirements

    Upload up to a few GB, playback on phones and TVs, fast start, smooth playback, global audience.

  2. 02

    Upload

    Client gets a pre-signed URL, uploads chunks to object storage, and the service records metadata.

  3. 03

    Processing

    A queue triggers transcoding workers that split the video into segments, encode each at several resolutions, and write manifests.

  4. 04

    Delivery

    Players fetch the manifest and segments from a CDN, switching bitrate as bandwidth changes.

  5. 05

    Metadata and counts

    A database for video info, a search index, and view counts aggregated from events.

  6. 06

    Cost

    Encode popular videos in more formats, keep cold videos in cheaper storage.

Best answers from candidates

No candidate answers yet. Type yours, and if it scores 6 or more you can show it here without your name.

Answers are shared by candidates, without names, after a privacy check. Add yours

Common mistakes

  • Uploading through the application servers.
  • Transcoding a whole video on one machine in one step.
  • Serving video from origin instead of a CDN.

Follow-up questions to expect

  • Add live streaming with under five seconds of delay.
  • Uploads in one country spike tenfold for a festival.

Now answer it out loud

Max will ask you this exact question, listen to your answer, push on the weak spots with follow-ups like the ones above, and score you when you finish.

Practice with Max

Free: a 5-minute voice round and unlimited typed drills, with scored feedback. No card, and your camera is never recorded.

More system design interview questions

Preparing for this round? Read how to practice for a system design interview.