In this episode of IntelliJ IDEA Tech Talks, I talk to Balkrishna Rawool, who demonstrates how Virtual Threads, Scoped Values and Structured Concurrency work well together.
Description
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 episode, Balkrishna Rawool will demo building a Spring Boot application from scratch, progressively incorporating the features of Project Loom to showcase its full potential: 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. We will discuss how to apply Project Loom in your own applications, writing concurrent code that is simpler, more scalable, and easier to maintain.
Chapters
- 00:00:00 – Intro
- 00:01:42 – Project Loom
- 00:02:36 – Virtual Threads
- 00:13:30 – Structured Concurrency
- 00:46:09 – Scoped Values
- 01:01:52 – Summary
Links
- Demo code
- Slides
- GeeCON 2024: Piotr Przybył – Butcher Virtual Threads like a pro!
- Loom in JDK 25: Virtual Threads, Structured Concurrency, and Scoped Values by Remi Forax, José Paumard
- Make Your Code Parallel with the Structured Concurrency API, José Paumard

One thought on “Beyond Virtual Threads: Structured Concurrency – Balkrishna Rawool | IntelliJ IDEA Tech Talks”
Comments are closed.