How Does YouTube Load in 0.1 Seconds? Designing for Massive Scale with Redis Caching and a CDN

My server goes down when just a few hundred users show up, so how does YouTube load a 4K video from the other side of the world in just 0.1 seconds? This 25-part series clearly explains everything from the core principles of Redis caching and global CDNs to YouTube’s overall architecture, where the equivalent of 250 movies is uploaded every minute. It will help you build a big-picture understanding of large-scale system design—essential for technical interviews, workplace discussions, and the age of AI.

37 learners are taking this course

Level Basic

Course period Unlimited

system-design
system-design
Redis
Redis
CDN
CDN
cache
cache
distributed-system
distributed-system
system-design
system-design
Redis
Redis
CDN
CDN
cache
cache
distributed-system
distributed-system

What you will gain after the course

  • Causes of performance bottlenecks that are hard to solve by simply upgrading server specs, and criteria for deciding whether to implement caching

  • The principles and calculations behind greatly reducing database load with four layers of caching—browser, CDN, Redis, and the DB buffer pool (e.g., a 1/125 reduction)

  • A defensive strategy to mitigate the outage that occurs when a popular page’s cache expires and a flood of requests hits the database at once.

  • Design principles for storing payment data that must never be lost separately from frequently updated likes and view counts

  • 5 Cache Invalidation Strategies to Keep Old Values from Remaining on the User’s Screen When Data Changes

  • A Structural Understanding of “If Not in My Computer’s RAM, Where Does Redis Run?” and How to Use Five Key Data Structures

  • How Redis Achieves High Throughput Despite Being Single-Threaded, Protects Data During Power Outages, and Scales Across Distributed Architectures

  • Global CDNs and Dynamic Acceleration: Delivering Content from Nearby Edge Locations Without Reaching Distant Origin Servers Every Time

  • A streaming architecture that adjusts video quality and keeps playback going even in environments with unstable network conditions, such as on the subway.

  • Designing an Upload Pipeline for Large 4K Videos That Resumes Interrupted Uploads Without Burdening the API Server

  • A system that distributes the transcoding of long videos across multiple servers for parallel processing, and a two-stage recommendation pipeline that quickly narrows down candidates from a vast library of videos.

Recommended for
these people

Who is this course right for?

  • For those who have built basic web services or APIs but aren’t sure how to scale the system as traffic grows.

  • A job seeker unsure where to start when asked in a technical interview, “Design YouTube or another large-scale service.”

  • Junior and mid-level developers who often hear “Let’s add Redis” or “Let’s use a CDN” at work, but wonder what criteria to use when designing and operating them.

  • Those who quickly build code and launch products using AI tools, but want to understand the overall architecture and give AI more specific design instructions.

  • For those who’ve always wondered why Redis is so fast and what happens to the data in memory when the server shuts down.

  • For anyone who wants to understand the big picture behind why each component is where it is when reviewing architecture discussions or design documents.

  • For those who have heard of many cloud and open-source technologies but can’t quite picture how they fit together in a real-world service.

  • For anyone curious about how the YouTube they use every day works—from uploading and encoding to storage, playback, and recommendations.

  • For those who want to build a solid foundation in system design by listening in 8–16-minute chunks during their commute, without the hassle of setting up a full hands-on practice environment.

  • For those who want to operate a simulator themselves and see traffic changes firsthand, rather than just learning the theory through text and videos.

  • A developer looking to broaden their perspective beyond implementing individual features to encompass the entire system architecture.

  • Planners and PMs who want to understand how large-scale web and video services work, how their infrastructure costs are structured, and how to communicate smoothly with development teams.

Need to know before starting?

  • You can listen comfortably even if you’re not familiar with any particular programming language or framework.

  • It’s enough to understand the basic flow: a web browser sends a request to the server and retrieves information from the database.

nhcodingstudio

Recommended by Inflearn

Inflearn confidently recommends this instructor based on course performance, learner feedback, and consistent effort.

Learners
5,215
Reviews
345
Satisfaction
96%

Hello, and welcome to Our Neighborhood Coding Studio!

Our Neighborhood Coding Studio is an educational group founded by developers who studied computer science at leading North American universities such as Carnegie Mellon, the University of Washington, the University of Toronto, and the University of Waterloo and gained hands-on experience at global tech companies such as Google, Microsoft, and Meta.

It started as a study group formed by computer science students in the United States and Canada who wanted to learn and grow together. Although they attended different universities and were in different time zones, the time they spent solving problems together and learning from one another was special, and naturally led them to wonder:

“What if we shared the way we studied with other people just as it was?”

That question was the starting point for Our Neighborhood Coding Studio.

Currently, approximately 30 working developers and computer science students each lead their own areas of expertise, designing and teaching a curriculum that covers everything from the fundamentals to real-world practice. Beyond simply sharing knowledge, we provide an environment where you can learn through the eyes of real developers and grow together.

“You should learn from a real developer.”

We systematically cover every stage of web development, from start to finish, helping you build your skills through hands-on practice and practical, real-world feedback rather than theory alone.
Our philosophy is to support and guide the growth of every student.

🎯 Our philosophy is clear.
"True learning comes through practice, and growth is complete when we grow together."

From beginners just starting out in development to job seekers looking to build practical skills and young people exploring career paths, Neighborhood Coding Studio aims to be a starting point for everyone and a trusted companion on the journey.

You don’t have to figure it out alone anymore.
Neighborhood Coding Studio will be here to support your growth.


Welcome to Neighborhood Coding Studio!

Neighborhood Coding Studio was founded by a team of developers who studied computer science at top North American universities such as Carnegie Mellon, the University of Washington, the University of Toronto, and the University of Waterloo, and went on to gain hands-on experience at global tech companies like Google, Microsoft, and Meta.

It all began as a study group formed by computer science students across the U.S. and Canada, created to grow together by sharing knowledge, solving problems, and learning from one another.
Though we were attending different schools in different time zones, the experience was so meaningful that it led us to one simple thought:

“What if we shared this way of learning with others?”

That thought became the foundation of Neighborhood Coding Studio.

Today, we are a team of around 30 active developers and computer science students, each taking responsibility for their area of expertise—designing and delivering a curriculum that spans from foundational knowledge to real-world development.
We’re not just here to teach—we’re here to help you see through the lens of real developers and grow together.

“To become a real developer, you must learn from real developers.”

Our courses take you through the entire web development journey—from start to finish—focused on hands-on practice, real-world projects, and practical feedback.
We care deeply about each learner’s growth and are committed to supporting your path every step of the way.

🎯 Our philosophy is simple but powerful:
"True learning comes from doing, and true growth happens together."

Whether you're just getting started, preparing for your first job, or exploring your future in tech,
Neighborhood Coding Studio is here to be your launchpad—and your trusted companion on the journey.

You don’t have to do it alone.
Let Neighborhood Coding Studio walk with you toward your future in development.

Curriculum

All

30 lectures ∙ (4hr 53min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

Limited time deal

$46,200.00

70%

$118.80

nhcodingstudio's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!