Virtual Threads, Structured Concurrency and Scoped Values: Putting it All Together
Project Loom brings lightweight concurrency to Java with Virtual Threads, Structured Concurrency, and Scoped Values. But how do these features work together in a real-world application?
In this talk, we’ll build a Spring Boot application from scratch, progressively incorporating each feature of Project Loom to showcase its full potential. We’ll explore: Virtual Threads (lightweight, high-throughput threads that scale effortlessly). Structured Concurrency (a streamlined approach to managing concurrent tasks as a single unit of work). Scoped Values (a modern alternative to ThreadLocal, designed for virtual threads).
By the end of this session, you’ll have a clear understanding of how to apply Project Loom in your own applications, writing concurrent code that is simpler, more scalable, and easier to maintain.