Algocraft / System Design / YouTube

YouTube System Design

Live Model

Client โ†’ CDN โ†’ Upload / Transcoding โ†’ Spanner โ†’ ML Recommendations

YouTube
๐Ÿ” Search
๐Ÿ‘ค
6:18
โš™โ›ถ
16:32
How YouTube Serves 1 Billion Videos Per Day
TechVault ยท 2.1M views ยท 3 days ago
T
TechVault
842K subscribers
YouTube at Scale
2B+
Monthly Users
500h
Uploaded/min
1B+
Daily Views
Built on Google Cloud โ€” GCS, Spanner, BigQuery, Pub/Sub. Every upload triggers a transcoding pipeline producing 10+ resolution variants.

End-to-End Flows

Speed

Client Layer

Devices

Services Layer

Core backend

Data Layer

Storage & analytics
๐Ÿ“น

Select a flow to see the exact path

Pick a scenario above โ€” e.g. "Watch a Video" โ€” to trace how a request travels from the YouTube App through the API Gateway โ†’ Video Serving โ†’ Metadata DB โ†’ CDN, where the nearest edge node delivers video chunks to your device. Each component lights up in sequence with animated data packets.