Logo Crossweb

Logowanie

Nie masz konta? Zapomniałem hasła

Przypomnij hasło

close Wypełnij formularz.
Na Twój adres e-mail zostanie wysłane link umożliwiający zmianę hasła.
Wyślij
<< przejdź do listy wideo

Leverage CompletableFutures in Java to handle the results of your

11.10.2021
Cykl:   JDD

"Leverage CompletableFutures in Java to handle the results of your queries asynchronously"


The challenges of developing applications recently have increased. With the popularity of cloud environments, the scalability required by new architectures and the need to support more load efficiently, there has been an increase in attention that we need to pay to concurrency and efficiency.  


One strategy to achieve that efficiency consists of distributing the modules of your application in several different smaller components running concurrently. But one of the problems that arise from such distribution of running modules comes when you need to send a request (and wait for the response) to several different modules. How do you design that request(s)-response(s) to be as efficient as possible?  


CompletableFutures was introduced with Java 8 but has evolved over the years with every new version of Java released. In this talk, we will take a look at it, to: 

- understand how to use CompletableFutures, 

- how they can help us to split our workload into different request and coordinate them asynchronously and concurrently,  

- how you can chain behavior to the responses,

- how you can use CompletableFuture in your design to create APIs that enable your users to get the most of your Component/library/module.

Podobne wydarzenia