Intermediate LevelSystem Design & Architecture
How do you design a Video Streaming Platform (like YouTube or Netflix)?
β Interview Prompt: Explain Video Streaming architecture, video transcoding pipelines (HLS / DASH), resolution chunks, CDN distribution, and blob storage.
Designing a global Video Streaming Platform (YouTube/Netflix):
Processing Pipeline:
1
Video Ingestion: Raw video uploaded to S3 Object Storage via chunked multi-part upload.
2
Transcoding Worker Pool: Background workers split video into 10-second segments and transcode into multiple resolutions (1080p, 720p, 480p) using HLS or DASH protocols.
3
CDN Delivery: Delivers adaptive video chunks globally based on client network bandwidth.
Code Implementation Example
markdown
Video Transcoding and Streaming Architecture:
[Raw Video Upload] ββ> [S3 Storage] ββ> [MQ Transcode Job]
β
(FFmpeg Worker Pool)
β
βΌ
[CDN Edge Nodes] <ββ (Adaptive HLS Chunks) ββ [Transcoded S3 Storage]
(1080p, 720p, 480p)π‘Video transcoding pipeline and adaptive bitrate CDN streaming.
π― Interview Key Takeaway
Design video streaming platforms using background transcoding workers to generate adaptive HLS/DASH video chunks served via global CDNs.
#System Design#Video Streaming#HLS#CDN#Intermediate
Back to all System Design & Architecture Questionsβ