Skip to content
0:00 / 0:00

#virtualthreads#completablefuture#netflix

Java Concurrency from the Trenches: Lessons Learned in the Wild

InfoQ

234K subscribers • 58 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on InfoQ, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Hugo Marques, Software Engineer at Netflix

Intermediate. Assumes working knowledge.

11K views9 months ago

Programming languagesSystems programmingJava and the JVMConcurrency and parallelismPerformance and optimization

Hugo Marques shares Netflix's lessons in optimizing a high-scale data processing job using Java concurrency, CompletableFuture, and virtual threads.

Can your Java application handle 270,000 requests per second without crashing? Hugo Marques, a Software Engineer at Netflix, shares a "from the trenches" look at the evolution of a high-scale data processing job. Moving beyond theoretical documentation, Hugo breaks down the messy reality of optimizing for IO-bound problems at massive scale. ⏱️ Video Timestamps (For Navigation) - 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 🔗 Transcript available on InfoQ: bit.ly/45yE3jf #Java #Netflix #SoftwareArchitecture #VirtualThreads #BackendEngineering #InfoQ

Why it's here

A top upload from a listed channel

InfoQ is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.