Asynchronous API with CompletableFuture: Performance Tips and Tricks

preview_player
Показать описание
Sergey Kuksenko, Oracle

Since Java 8, CompletableFuture has enabled asynchronous, future-based programming in Java and is one of the most powerful features suitable for creating asynchronous APIs. This presentation, based on real project experience, goes beyond the CompletableFuture public API. It reveals internal details and shows who stands to benefit from it for better performance.
Рекомендации по теме
Комментарии
Автор

Awesome to know that I share a full name with a java master! I am trying to learn java too.

GniteCA
Автор

This was a *great* talk! It started off a bit slow, but once it got into the meat of the presentation, was fantastic and packed with useful information

MarkusJevring
Автор

Between chaining of thenComposeAsync(...) vs thenCompose(...), the later one is faster. Also it is mentioned to avoid thread transitioning, can someone explain or provide some links why/where one should use async methods then?

nakulkumar
join shbcf.ru