← All Problems
HardMedia45 min
Design a Video Streaming Platform
Design a video streaming platform like YouTube or Netflix that handles video upload, processing, and playback at scale.
NetflixYouTube/GoogleAmazonDisney
Functional Requirements
- Video upload and transcoding to multiple formats/resolutions
- Smooth playback with adaptive bitrate streaming
- Support millions of concurrent viewers
- Content recommendation
- Global low-latency delivery via CDN
Steps (0/6)
Step 1: Clarify Requirements
Scale: 1B DAU, 100M videos uploaded/year. Concurrent viewers: 10M peak. Video sizes: 100MB-10GB. Support resolutions from 360p to 4K. Average watch time: 30 minutes/day per user.
Key Points
- 1B DAU, 10M concurrent viewers peak
- Storage: massive (petabytes of video content)
- Bandwidth: main cost driver
- Upload processing can be async, playback must be real-time
1 / 6