Structured Concurrency in Action

A deep-dive into the structured concurrency API as it is currently proposed

Photo of a regularly-structured ceiling with a circular opening in the center

In Java 25, the structured concurrency API sees its fifth preview with considerable changes over previous iterations. With chances being good that it will finalize without a further overhaul, let's put it into action and explore how to:

  • structure concurrent code
  • process and propagate errors and cancellation
  • observe thread relationships
  • refactor from a reactive approach

After this presentation you'll be ready to put the structured concurrency API into action in your project.

Slides

Here's the current version of the slides.

I also embedded them below. If they're focussed, you can navigate with arrow keys or swipes (they're two-dimensional, with chapters on the horizontal axis and chapter content layed out vertically). Use Page Up/Down for linearized order and ? for more shortcuts.

Past Presentations

I gave this talk once before. See below for links to slides (as they were at that very event), videos, and other information.

2025