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

YouTube

Asynchronous API with CompletableFuture - Performance Tips and Tricks

Java via YouTube

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

Reviews

Start your review of Asynchronous API with CompletableFuture - Performance Tips and Tricks

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.