Overview
Explore a comprehensive JavaZone 2024 conference talk that delves into the impact of Java 21's virtual threads on reactive programming paradigms. Learn how Loom virtual threads enable thread-per-request scaling with near-optimal hardware utilization, a capability previously exclusive to reactive programming. Understand the mechanics behind virtual threads' performance optimization, their cost-effective creation process, and the introduction of Structured Concurrency API as a simplified alternative to reactive programming models. Discover the role of Scoped Values as a replacement for Thread local variables and examine whether virtual threads could potentially make asynchronous programming models obsolete. Join Java Developer Advocate José Paumard from Oracle's Java Platform Group as he addresses these critical questions about the future of concurrent programming in Java.
Syllabus
Are Virtual Threads Going to Make Reactive Programming Irrelevant?
Taught by
Java