GeeCON Prague 2022: David Vlijmincx - Introduction and pitfalls of Java's fresh concurrency model

youtube.com 1 rok temu


Java 19 will preview 1 of the most anticipated features, virtual threads, and structured concurrency. It rethinks the way multithreading works in Java. It was born out of the thought that reactive Java is besides complicated and blocking threads should be cheap. Resulting in the fresh virtual threads that we run thousands of! The aim of virtual threads and structured concurrency is to have high-throughput lightweight threads and fresh programming models on the Java platform. In this talk, I will show virtual threads and how to make and manage them utilizing structured concurrency. Furthermore, I'll supply any applicable advice to avoid pitfalls erstwhile you start utilizing virtual threads in your application