System Design
20. System Design Case StudiesAnimated
Video Streaming Platform (YouTube)
Upload, transcode and stream video globally.
The idea
Videos are transcoded into several qualities and served in segments through a CDN.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
The upload is split and transcoded into many resolutions and chunks.
- step:
- 1/4
- at:
- Uploader
1/9
The green dot is a request moving through the system.
Step by step
- 1Upload the video
- 2Transcode into several bitrates
- 3Store segments
- 4Stream adaptively from a CDN
Where it is used
Large media delivery.
Watch out for
Transcoding cost and CDN egress.