JAX | 11. - 15. Mai 2020 Mainz

Parallel Divide and Conquer with CompletableFutures

Dieser Talk stammt aus dem Archiv. zum AKTUELLEN Programm
Bis 19. Dezember: ✓ Gratis Agile Day ✓ Raspberry Pi oder C64 Mini for Free ✓ Bis zu 784 € sparen Jetzt anmelden
Dienstag, 7. Mai 2019
18:15 - 19:15
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

Agile & Culture
Teamwork & Methoden

Data Access & 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

Strukturen & Frameworks

Web Development & JavaScript
JS & Webtechnologien

Performance & Security
Sichere Webanwendungen

Serverside Java
Spring, JDK & mehr

Digital Transformation & Innovation
Technologien & Vorgehensweisen

Best Practices