"Case Study: Video Streaming"
A video streaming service lets people upload videos and watch them without long waits, on fast and slow connections. This note builds one reasonable design from stated assumptions. The central trade-off is storage cost against smooth playback: we store each video many times at different quality levels so every viewer gets one that fits. The numbers are examples worked out with a short program. After this note you can explain preparing a video, adaptive bit rate (the player switching quality as the connection changes), and why a CDN (a network of caches close to viewers) carries almost all the traffic.
Topics in this section
- Requirements and scope
- Numbers
- API and data
- The first design
- Preparing the video
- Playing it smoothly
- Failures and scaling