Mock Interviewer

Ask Coach

Ask Coach
Clarify requirements before you design — kept separate from your stage notes.

Tap a question to start, or type your own below.

Netflix System Design

Visual Problem Diagram

Netflix System Design architecture diagram

Scenario

Friday night you press Play on a new show and expect it to start right away. The painful failure is three seconds of buffering, because the quality your connection can play is not on a nearby server yet, while about 20 million streams start in that same hour.

Stuck on where to start? Ask Coach

Clarify this problem here, or open Pathway Coach if you want a prep plan first.

Free Coach trial
How should I start prep?

You browse a catalog and a home row chosen for you. You press Play and the video starts in a quality your connection can hold. The connection can get worse. The picture then steps down instead of freezing. You stop on one device and continue on another at the same moment. Some titles play only in certain countries.

You need to explain how a new title becomes several qualities of short pieces before anyone presses Play. You need to explain how those pieces are read from a server near the viewer. You need to explain how the player changes quality without a long stall. You need to explain how the home row is personal without delaying the start of Play. You need to explain how a hit is copied out before the Friday rush. You need to explain how the stopped moment follows you to another device. Building your own video codec can stay thin.

Constraints

Functional

Browse the catalog. Upload a video and prepare it for playback. Play it in a quality that changes with the connection. Show a personal home row. Resume later. Keep separate profiles. Play a title only where it is allowed.

Non-functional

Most plays start in under 2 seconds, so the viewer does not sit on a spinner. Long stalls stay rare. Playback stays up about 99.99 percent of the time. People around the world get a copy from somewhere near them.

Scale

About 200 million subscribers. The hot action is pressing Play. About 20 million streams are playing at the same peak. The catalog is petabytes. Millions of quality-prep jobs can be in flight. Reads of the video pieces dominate.

Stages ahead

1Requirement Analysis
2API Design
3High-Level Design
4HLD Extensions
5Trade-offs

Not ready to design yet?

Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.

Try Coach free

Log in to start practicing

Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.

Want full access now? View Pro pricing