Scale Forem

Scale YouTube
Scale YouTube

Posted on

Devoxx: StructuredTaskScope And ScopedValue - Get The Most Out of Virtual Threads by Christian Woerz

This talk by Christian Woerz dives into Java 21’s virtual threads and explores two preview gems: StructuredTaskScope and ScopedValue. Through a live‐coding session you’ll start with a blank Java app and iteratively turn it into a concurrent web application, all while swapping ThreadLocals for ScopedValues and building custom task scopes.

By the end you’ll walk away with a hands-on understanding of how these features work together in real-life scenarios—so you can squeeze the most performance and clarity out of your virtual threads.

Watch on YouTube

Top comments (0)