Netflix's system design
☰
Netflix is two systems: a brain on AWS that decides what you can watch and where it should come from, and its own CDN that hands you the video from inside your internet provider.
+ The whole system in one paragraph− Hide
Netflix is split in two. Everything except the video (sign-in, browsing, recommendations, picking which server streams to you) runs on Amazon's cloud, AWS. The video itself comes from Netflix's own servers inside internet providers, filled every night with what people are predicted to watch. Your player pulls it in small chunks, changing quality as your connection changes.
In this lesson
4 chapters · ~8 min · a quick check in eachEverything is on this page — just scroll down ↓
The whole system
What it must do — and how well
The two halves of Netflix
The left half runs on AWS (three regions since 2016) and makes every decision: who you are, what you may watch, which server sends it. The right half: Netflix's own video servers (OCAs).
You press play. The request goes to Netflix's cloud on AWS, through the edge gateway.
Netflix's front door handled 1M+ requests a second (2018). About how many requests a day is that?
Pick one — or just keep scrolling, it's not graded.
Keep going — it's free
Create your free account to unlock the rest of Netflix's system design, keep your progress and pick up right where you left off.
- 2Streaming the video
- 3Your home page
- 4Failures & growth
Ask anything about this system, or share how you'd design it.
Log in to join the conversation