Scale Forem

Scale YouTube
Scale YouTube

Posted on

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

TL;DR

Christian Woerz walks you through supercharging your Java 21 virtual threads by leveraging two powerful preview features: StructuredTaskScope and ScopedValue. You’ll kick off from a blank Java app and, in a live‐coding session, iteratively build a fully concurrent web application that highlights why ScopedValues often outshine ThreadLocals and how to craft your own custom StructuredTaskScopes.

By the end of the talk you’ll have a hands-on understanding of how these features work under the hood and how to apply them in real-world projects to get the absolute most out of virtual threads.

Watch on YouTube

Top comments (0)