How to make CompletableFuture even faster (performance tips and tricks)
summary
Examines Java's CompletableFuture implementation and internal details beyond the public API to find performance improvements. Covers concrete tips and tricks for making code that uses CompletableFuture run faster, focusing on implementation nuances and optimizations.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 5:45CompletableFuture basics
- 11:30CompletableFuture methods
- 19:11Blocking vs async calls
- 23:57Threading and locks issues
- 31:55Default chain execution
- 36:49Execution predictability
- 41:03Choosing ExecutorService
- 46:16Project Loom future
related talks
55mBack to the CompletableFuture: Concurrency in Action
02h 35mParallel and Asynchronous Programming with Streams and CompletableFuture
50mThinkAsync in Java8
48mParallel Streams, CompletableFuture, and All That: Concurrency in Java 8
45mKeynote: Where Promises Fall Short
52mNew Concurrency Utilities in Java 8
56mFlavors of Concurrency in Java
34mConcurrency in Spring Boot Applications: Making the Right Choice
