Design YouTube
Upload, transcode, and stream video to a billion viewers: a processing pipeline on one side, a CDN problem on the other.
11 questions on this site are reported in Netflix software engineer interviews. Each has a full reference design (requirements, back-of-envelope numbers, components, user flows and deep dives with interviewer follow-ups). Each one can be walked through turn by turn and then sat as a mock. Patterns covered: transcoding, cdn, adaptive-bitrate, pipelines, storage, tries, ranking, caching, search, stream-processing, windowing, exactly-once, olap, analytics, proactive-caching, steering, resilience, workflow-orchestration, event-sourcing, durable-timers, sharding, leases, recommendations, vector-search, feature-store, real-time, deployment, canary, reconciliation, rollback, blast-radius, live-video, low-latency, request-coalescing, anycast, tiered-cache, cache-invalidation, multi-tenancy, api-gateway, authentication, control-plane, quotas, experimentation, hashing, statistics.
Run an AI mock Netflix interview →One of these questions, run as a live round in that style, with a debrief at the end.
Attribution comes from public interview guides and candidate reports, not from Netflix. It indicates where a question has been asked, nothing more.
Upload, transcode, and stream video to a billion viewers: a processing pipeline on one side, a CDN problem on the other.
Suggest the top ten completions after every keystroke, in under fifty milliseconds, from what the world searched for in the last hour, without suggesting anything that gets you in the newspaper.
Count a million ad clicks a second, show advertisers a dashboard that is seconds behind, stop a campaign the moment its budget runs out, and be exactly right when the invoice is cut.
Stream a fixed catalog to 40 M people at once, 200 Tbps at peak, starting in under two seconds, from cache servers placed inside the viewers’ own internet providers.
A managed workflow engine that runs 200 M state-machine executions a day, some lasting a year, applying every transition exactly once.
The “recommended for you” video home feed: 50 personalised videos picked from billions for 500 M daily users in under 200 ms.
Build each merge once into a signed artifact, roll it out in stages to 50,000 hosts in 10 regions, and roll back automatically on regression.
Ingest 100 k live broadcasts, transcode them in real time, and deliver each about three seconds behind live, to three viewers or 500 k.
A multi-tenant CDN for 30 M customer domains: 300 PoPs, 50 M requests a second served mostly from cache, and global purges in seconds.
One front door for public and partner APIs: authenticate, limit and route 1 M requests a second to 300 services, adding under 10 ms.
Run 500 experiments at once on 300 M users: sticky variants in microseconds, exposure logging, and confidence intervals teams can trust.
45–60 minutes, often on streaming delivery, the data platform behind it, or a high-volume service such as search or ad events.
Spending the hour on the metadata service. The bytes, the CDN and what happens when a region goes down are what the interviewer wants to hear about.
From public interview guides and candidate reports, and Netflix’s own interview guidance where it publishes any. Not endorsed by Netflix. Formats change; treat it as a prior, not a promise.
Large-company loops run 45 to 60 minutes, expect numbers, and spend most of the time on deep dives. Walk through a question to see how a strong candidate paces the hour, sit the same question as a mock until you can produce the requirements, the estimates and the design without looking, then read the interview framework guide for how to structure the hour. The other questions on the site teach patterns that show up in Netflix interviews under different names.
Questions reported in Netflix system design interviews include YouTube, Search Autocomplete, Ad Click Aggregator, Netflix, AWS Step Functions, Recommendation System, Code Deployment System and Twitch, among 11 in total. Between them they test transcoding, cdn, adaptive bitrate, pipelines, storage and tries. The reports come from public interview guides and candidate accounts, not from Netflix, so practise the patterns rather than memorising one list.
45–60 minutes, often on streaming delivery, the data platform behind it, or a high-volume service such as search or ad events.
Reports say the Netflix round weighs 4 things. 1. Availability first: what keeps playing when a dependency fails. 2. Content delivery: CDN placement, caching and the cost of bytes moved. 3. Event pipelines at very high volume, and what has to be exact versus approximate. 4. Operating it: resilience testing, regional failover and observability. Spending the hour on the metadata service. The bytes, the CDN and what happens when a region goes down are what the interviewer wants to hear about.
Practise the questions reported there out loud, under a 45-minute clock: requirements with numbers first, then estimates, a high-level design, and deep dives into the two or three hardest parts. Start with YouTube: watch a strong candidate answer it turn by turn, then sit it yourself. Then cover the patterns the round leans on (transcoding, cdn, adaptive bitrate and pipelines) with one more question each.