Martin Stefanko - Is Loom really the future of enterprise Java?
2024-05-17 19:00:00
Martin Stefanko - Is Loom really the future of enterprise Java?
Resume
Project Loom, or virtual threads, promised fast, lightweight user-space threads that are very cheap to block. While this is true, everything in life comes at a price. Virtual threads allow users to not care about it. It is the job of the underlying libraries that all our applications use. Issues that can still occur with virtual threads, such as pinning, monopolization, or large thread-local objects, still present real-world problems many libraries still need to account for. Especially in enterprises, these issues might only be noticed once the system reaches the peak loads, which is usually too late. In this session, we explain the virtual thread model execution and compare it to the event loop/reactive model utilized in Quarkus. We will also dive into individual problems that virtual threads might encounter and demonstrate how you can verify that your code doesn’t run into them. By the end of the talk, you’ll understand these (from the user point of view invisible) potential issues with Project Loom.
Speakers
Martin Stefanko
Full Stack Developer with experience in Java, Quarkus, WildFly, JBoss EAP, Spring Boot, SQL, Java EE, and MicroProfile technologies. I lead the Brno Java User Group in Czechia. My responsibilities focus on the maintenance and feature development in both Quarkus and WildFly. I also lead the MicroProfile Health specification. I authored Quarkus in Action (Manning) book. Conference speaker.