Skip to content

ONE QUESTION. YOUR REASONING.

Design YouTube

Design a video platform like YouTube: people upload videos, and others stream them on any device.

System designStreaming and mediaMid-levelSenior

YOUR BRIEF

What to work through

Work through youTube as a spoken system design interview. Start by clarifying the scope, sketch a working design and explain the trade-offs behind your choices.

  • Upload a video
  • Stream a video on web, mobile and smart TVs
  • Switch video quality as the network changes
  • Resume an upload that was cut off

BEFORE YOU START

Constraints to discuss

  • Uploads of tens of GB
  • Playback starts fast, even on low bandwidth
  • About 1 million uploads and 100 million views a day (Hello Interview)
  • Availability over consistency
  • Low delivery cost: CDN bills at about $0.02 per GB (Alex Xu)
Need a starting point?

Watch for these common gaps as you prepare:

  • Uploading the whole file in one request with no way to resume
  • Storing only the original and streaming it as is
  • Serving video bytes from the API servers instead of a CDN
  • Forgetting that transcoding is slow and must be asynchronous
Read: System design questions and who asks them

Why this question is in the collection

These sources connect the problem to company interview reports or preparation guides. They do not guarantee what a company will ask you.

KEEP GOING

Your next question

Storage, files and linksDesign BitlyInfrastructure and platformDesign a rate limiterInfrastructure and platformDesign an A/B testing platformInfrastructure and platformDesign an ad click aggregator
Browse the collection
01

Pick a question

Read the brief and choose what you want to work on.

02

Talk it through

Explain your thinking. Respond to follow-ups. Draw when a design needs it.

03

Find your next improvement

Use the feedback from your interview to decide what to practise next.