Scale Forem

Scale YouTube
Scale YouTube

Posted on

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

  • Christian Woerz shows how to supercharge Java 21’s virtual threads using two powerful preview features: StructuredTaskScope and ScopedValue.
  • Through a live-coding journey from an empty app to a full concurrent web application, you’ll learn why ScopedValues often beat ThreadLocals and how to craft your own task scopes for real-world scenarios.

By the end, you’ll have a deep, hands-on understanding of making the most out of virtual threads with structured concurrency and scoped data.

Watch on YouTube

Top comments (0)