Introduction and pitfalls of Java's new concurrency model
David Vlijmincx - 6 months ago
Java 21 releases one of the most anticipated features, virtual threads, and previews structured concurrency. It rethinks the way multithreading works in Java. It was born out of the idea that reactive Java is too complicated and blocking threads has to be cheap. Resulting in the new virtual threads that we run thousands of! The aim of virtual threads and structured concurrency is to have high-throughput lightweight threads and new programming models on the Java platform. In this talk, I will demonstrate virtual threads and how to create and manage them using structured concurrency. Furthermore, I'll provide some practical advice to avoid pitfalls when you start using virtual threads in your application.
Jobs with related skills
Systembetreuer (w/m/d) Meldewesen-Systeme
DekaBank Deutsche Girozentrale
·
1 month ago
Frankfurt, Germany
Hybrid
Anwendungsentwickler für ELO-Anwendungen (m/w/d)
Jakob Becker GmbH & Co. KG
·
23 days ago
Kaiserslautern, Germany
Hybrid
Senior Java Backend Engineer – IT Area DL Secure (w/m/d)