Overview
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