Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How Netflix Handles 270K RPS - Java Concurrency Lessons

InfoQ via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to handle massive scale Java applications through a real-world case study from Netflix's engineering team in this 50-minute conference talk. Discover the practical challenges and solutions involved in processing 270,000 requests per second without system crashes, moving beyond theoretical documentation to explore the messy reality of optimizing IO-bound problems at enterprise scale. Explore essential Java concurrency tools including threads, CompletableFuture, and virtual threads while understanding common pitfalls like parallel stream overuse and memory issues from chaining async tasks. Master advanced techniques for protecting dependencies using rate limiters and semaphores, tackle the virtual threads "pinning problem," and implement bounded executors to simplify complex solutions. Gain insights into CPU-bound versus IO-bound problem solving, examine performance comparisons through side-by-side results, and absorb key takeaways specifically designed for senior engineers. Benefit from practical Q&A coverage on sharding load distribution and retry handling strategies, all presented by Hugo Marques, a Software Engineer at Netflix, who shares direct experience from high-scale data processing job evolution.

Syllabus

- Introduction: Why "The Trenches"?
- The Scale: 270K RPS and IO-Bound Problems
- Toolbox: Threads, CompletableFuture, and Virtual Threads
- The First Mistake: Parallel Stream Greed
- Solving CPU-Bound vs. IO-Bound Issues
- First Out of Memory: Chaining Async Tasks
- Protecting Dependencies: Rate Limiters & Semaphores
- Virtual Threads & The "Pinning Problem"
- Simplifying the Solution: Bounded Executors
- Results: Performance Side-by-Side
- Key Takeaways for Senior Engineers
- Q&A: Sharding Load & Handling Retries

Taught by

InfoQ

Reviews

Start your review of How Netflix Handles 270K RPS - Java Concurrency Lessons

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.