Case study: design a video streaming service
Interview question: design a service like YouTube. Creators upload half a million videos a day, and viewers watch half a billion a day on phones, laptops and TVs, over fast and slow networks. Uploads must never be lost, and playback must never freeze. Where do you start?
In this lesson you'll learn to
- Turn the video question into requirements and numbers, and see that delivery bandwidth dominates everything.
- Design resumable uploads and a chunked transcoding pipeline whose tasks retry safely.
- Explain adaptive bitrate streaming with HLS or DASH playlists and segments.
- Deliver through a CDN with an origin shield, count views in batches, and degrade gracefully under load.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.