Introduction and pitfalls of Java's new concurrency model

Conference

Room: Linux

Scheduled at : Thursday 10:15 11:15

Abstract

Java 20 previews one of the most anticipated features, virtual threads, and 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.

David Vlijmincx

David Vlijmincx

I am a full-time developer since 2018 but I’ve been writing software and using Java for much longer.

I develop software in Java to help businesses, customers, and end-users to achieve more. I have developed applications for multiple industries, including banking, insurance, and maritime. Currently, I am working as a Java software consultant.

Speaker's bio
Presentation type Conference, 45mn
Track Backend, Integration
Presentation level beginner/novice
Keywords Java concurrency Live Coding & Demos

Room Linux