Comparing the Overview of Blocking vs. Non-Blocking with the Java Completable Futures framework.

Pubblicato il: 06 novembre 2022
sul canale di: Douglas Schmidt
768
12

This example shows the difference between calling join() on intermediate Java CompletableFuture objects (which block and thus degrade performance) vs. simply making one call to join() (and thus enhancing greater parallelism). These tests demonstrate why join() shouldn't be used in a stream pipeline on a CompletableFuture that hasn't completed since it may impede parallelism.


In questa pagina del sito puoi guardare il video online Comparing the Overview of Blocking vs. Non-Blocking with the Java Completable Futures framework. della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Douglas Schmidt 06 novembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 768 volte e gli è piaciuto 12 spettatori. Buona visione!