Design YouTube Live Streaming With Low Latency

Last updated: November 29, 2026

Quick Overview

Design the system that ingests a live stream from a creator and delivers it to millions of concurrent viewers with a few seconds of latency, plus live replay afterward.

Google
System Design
Software Engineer
Google
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that ingests a live stream from a creator and delivers it to millions of concurrent viewers with a few seconds of latency, plus live replay afterward.

Live is a distinct challenge from on-demand YouTube: there is no time to transcode ahead and audiences spike instantly. Interviewers check ingest, real-time transcoding, segment-based delivery, and the latency versus stability trade-off.

What the Interviewer Expects
  • Designs ingest with redundancy near the creator
  • Transcodes in real time into an ABR ladder
  • Explains segment and chunk-based delivery via CDN
  • Quantifies latency sources and how to reduce them
  • Handles the concurrency spike and DVR replay
Key Topics to Cover
live streaming
real-time transcoding
CDN fan-out
low latency HLS/DASH
redundancy
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • Where does latency come from end to end, and which part do you cut first?
  • How do you handle the ingest connection dropping briefly?
  • How do you serve 5M concurrent viewers of one stream?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: creator pushes a stream (RTMP or SRT or WebRTC); viewers watch with adaptive bitrate; DVR (seek back up to a few hours); archive as VOD after the stream ends.

Non-functional: mill...

High-Level Design
  1. Ingest edge close to the creator (anycast) terminates the stream; a backup ingest endpoint receives a redundant stream for big events.
  2. Live transcoder decodes and encodes in real time in...

Submit Your Answer
Markdown supported