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 – Get The Most Out of Virtual Threads

Dive into Java 21’s virtual threads with Christian Woerz as he demo-drives a live coding session from an empty project to a fully concurrent web app using two hot preview features: StructuredTaskScope and ScopedValue. You’ll see why ScopedValues are the superior alternative to ThreadLocals and how to craft your own custom task scopes.

By the end, you’ll have a hands-on understanding of these features and know exactly how to leverage them in real-world scenarios to maximize the power of virtual threads.

Watch on YouTube

Top comments (0)