Overview
Explore the intricacies of asynchronous programming in Java with CompletableFuture in this 45-minute conference talk by Oracle's Sergey Kuksenko. Delve into the internal workings of CompletableFuture, going beyond its public API to uncover performance optimization techniques based on real project experience. Learn how to create efficient asynchronous APIs, prevent blocking, and leverage features like HTTP Client, caching thread pools, and completion stages. Gain insights into composing and chaining operations, understanding executor behavior, and implementing synchronous result completion for enhanced performance in your Java applications.
Syllabus
Introduction
What is CompletableFuture
HTTP Client
Block in API
Wait
Cache Thread Pool
Preventing Blocking
Compose
Examples
Performance
How it works
Complete
Sync
Results
Chaining
Threads
Executors
Completion Stage
Campos
Taught by
Java