Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 30 · System Design · YouTube · about 26 min to read

Play it as a journeyTutor comes with a plan

Design YouTube, in the interview

Design YouTube in the Interview
Design YouTube in the Interview · Open board

The design growing one requirement at a time, each step’s new boxes dark and numbered, the earlier ones grey.

Before you start. Two lessons are borrowed. Design the Whole Thing (the interview, assembled) gave you the steps of a design answer: ask, estimate, API, data, design, bottlenecks, with nothing on the whiteboard until a number pays for it. YouTube, the case study told the story of this exact system: the lopsided ratio of writing to watching, the transcode factory, the cache racks inside internet providers and the cheats that keep counts cheap. The second half of this page is its interview cut. This lesson is how to say it all in forty-five minutes.

Lesson 111 of 115 in System Design

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • A clip at a concert, and a friend on another continent
  • The reel library and its copy room
  • Why the master reel goes straight to the shelf
  • The copy room runs in parallel
  • The branch library near you
  • Two ledgers for one number
  • Requirements
  • Out of scope, said out loud
  • Targets
  • Estimates that change the design
  • Entities and API
  • Storage
  • The design, one requirement at a time
  • Deep dives
  • What each level adds
  • The follow-up
  • More follow-ups
  • How to say it in the round

Terms it explains: byte, transcoding, ladder, segments, CDN, metadata store, resumable, manifest, adaptive streaming, Common mistakes, p95, Video, Upload session, Rendition, Creator, Search: a separate index, mid-level, senior, staff, collapse the requests, pre-warm, segment.

Review System Design