Design the YouTube Video Upload and Transcoding Pipeline

Last updated: November 29, 2026

Quick Overview

Design the pipeline that accepts video uploads to YouTube, transcodes them into many resolutions and codecs, and makes them playable as quickly as possible.

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

0

0

0 solved


Design the pipeline that accepts video uploads to YouTube, transcodes them into many resolutions and codecs, and makes them playable as quickly as possible.

YouTube receives hundreds of hours of video every minute, so this question tests large-scale batch-like compute with user-facing latency. Interviewers look for resumable uploads, chunked parallel transcoding, prioritization, and storage tiering.

What the Interviewer Expects
  • Supports resumable uploads of large files
  • Splits videos into chunks for parallel transcoding
  • Prioritizes a fast first playable rendition
  • Designs a job orchestration with retries
  • Plans storage and CDN placement by popularity
Key Topics to Cover
resumable upload
DAG orchestration
video transcoding
object storage
CDN
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
  • How do you make a 4-hour upload playable within minutes?
  • How do you choose which codecs to produce for a long-tail video?
  • How do you handle a corrupt source file?
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: upload large files (up to many GB) with resume; validate; transcode to an adaptive bitrate ladder (144p to 4K, H.264, VP9, AV1); generate thumbnails; publish manifest for playback.

**...

High-Level Design
  1. Upload service: client requests an upload session; uploads chunks to an upload endpoint with offsets so it can resume; chunks land in object storage.
  2. On completion, an orchestrator creat...

Submit Your Answer
Markdown supported