W-JAX | 4. - 8. November 2019, München

Parallel Divide and Conquer with CompletableFutures

Session
Infos
Dienstag, 7. Mai 2019
18:15 - 19:15
Hilton, Raum:
Rhein Main 4/5

CompletableFutures are the rage today. We use them to describe complicated concurrent workflows. For example, HttpClient in Java 11 returns them when we send asynchronous requests. They can also describe parallel divide and conquer workflows. In this talk, we will start by parallelizing a large Fibonacci calculation with Fork/Join. We will then change java.math.BigInteger to multiply in parallel. You will learn how to patch with the new modules system. Then we will show the issues with Fork/Join and show a solution based on CompletableFuture. This talk will be interesting for intermediate to advanced Java programmers.

Alle News der Java-Welt:
Alle News der Java-Welt:

Behind the Tracks of JAX 2019

Agile & Culture
Teamwork & Methoden

Data Technologies & Machine Learning
Speicherung, Processing & mehr

Clouds, Kubernets & Serverless
Alles rund um Cloud

Core Java & JVM Languages
Ausblicke & Best Practices

DevOps & Continuous Delivery
Deployment, Docker & mehr

Microservices & Architecture
Strukturen & Frameworks

Web Development & JavaScript
JS & Webtechnologien

Performance & Security
Sichere Webanwendungen

Microservices & Serverside Java
Spring, JDK & mehr

Digital Transformation & Innovation
Technologien & Vorgehensweisen

Software Architecture
Best Practices