Scale Forem

Scale YouTube
Scale YouTube

Posted on

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

StructuredTaskScope And ScopedValue by Christian Woerz

Ever wanted to squeeze every drop of performance out of Java 21’s virtual threads? Christian Woerz walks you through two super-powerful preview features—StructuredTaskScope and ScopedValue—and shows how they make concurrency a breeze.

In a live-coding session you’ll start with a blank Java app and iteratively build a full-blown, concurrent web application. Along the way you’ll learn why ScopedValues beat ThreadLocals in most cases and how to craft your own StructuredTaskScopes for real-world needs, so you can leave the talk with a rock-solid, hands-on understanding.

Watch on YouTube

Top comments (0)