50,000 Video Starts/sec
Sustained peak request volume during high-traffic events.
Design a YouTube / Netflix video platform with multi-bitrate HLS/DASH streaming and edge CDN delivery.
Target production parameters expected in a senior or staff interview round.
Sustained peak request volume during high-traffic events.
Daily active users generating read and write operations.
Projected data ingestion and replication storage capacity.
Strict end-to-end percentile latency SLA constraint.
Establish clear problem boundaries before proposing architectural components.
Step-by-step arithmetic conversions for QPS, storage, and bandwidth.
| Dimension | Calculation Formula | Estimated Result |
|---|---|---|
| Daily Ingestion Volume | 500,000 hours uploaded/day × 1 GB/hour | ~500 Terabytes new raw video / day |
| CDN Egress Bandwidth | 200M DAU × 2 hours/day × 2 Mbps average bitrate | ~400 Terabits/sec peak global egress |
How requests navigate ingress gateways, application logic, caching, and persistence.
Allows client apps to stream raw video files directly to cloud object storage.
Splits videos into 6-second chunks and transcodes in parallel across 1080p, 720p, 480p, and 360p.
Caches video segments at global POPs closest to viewers, enabling sub-second start latency.
Entity models, indexing, and primary key partitioning.
Indexed by uploader_id and release timestamp.
How to defend engineering compromises when challenged by interviewers.
Rationale: Pre-transcode standard profiles (360p-1080p) to guarantee zero start lag for viewer playback.
Key interview questions and conceptual defenses.
The video player dynamically monitors device bandwidth and switches between 1080p, 720p, or 480p chunks mid-stream without interrupting playback.