World Congress 2026 Europe • Jul 10, 2026 • Session details

Structured Concurrency in Practice: CoroutineScope vs StructuredTaskScope

Filip Egeric

Does Java's StructuredTaskScope handle blocking IO better than Kotlin coroutines? Compare both concurrency models directly in a practical Spring Boot demonstration.

Pause
Mute Enter Fullscreen
#1 about 2 min

Understanding concurrency and parallelism with visual examples

Comparing task execution strategies using a pit stop analogy to differentiate concurrency from parallelism.

#2 about 1 min

Core properties of structured concurrency paradigms

Ensuring safe asynchronous execution by bounding task lifetimes to a parent scope and propagating errors efficiently.

#3 about 4 min

Exploring a blocking Spring Boot application demo

Analyzing a standard Spring Web MVC application that retrieves data using synchronous database and service calls.

#4 about 3 min

Implementing asynchronous calls using Kotlin coroutines

Refactoring a blocking endpoint to fetch independent data sources concurrently using standard Kotlin asynchronous builders.

#5 about 2 min

Resolving reactive stream errors in blocking applications

Bridging suspending coroutines with blocking Spring endpoints by switching to a standard blocking execution context.

#6 about 2 min

Offloading blocking operations to a shared thread pool

Accelerating application speed by explicitly assigning dedicated coroutine dispatchers for execution of input and output tasks.

#7 about 2 min

Simulating failures and handling slow error propagation

Identifying un-cancellable blocking routines that prevent asynchronous parent scopes from handling downstream failures immediately.

#8 about 2 min

Making blocking code cancellable with run-interruptible wrappers

Enabling immediate failure propagation by explicitly bridging synchronous blocking functions into the active coroutine cancellation hierarchy.

#9 about 1 min

Introduction to the native Java structured task scope API

Exploring a native Java enhancement proposal that offers structured concurrency concepts directly embedded into the language platform.

#10 about 4 min

Refactoring concurrent operations using the structured task scope

Simplifying grouped asynchronous service calls by utilizing the new Java concurrency API powered by lightweight virtual threads.

#11 about 1 min

Creating Kotlin ergonomic wrappers for native Java APIs

Solving type inference mismatch issues between generic callables and runnables by building a lightweight usability wrapper.

#12 about 4 min

Comparing CoroutineScope and StructuredTaskScope architectural trade-offs

Choosing the right concurrent execution model based on the application stack, blocking constraints, and deployment platform versions.

Matching moments

5:18 min

Executing parallel tasks concurrently with structured task scopes

Christian Woerz · LIVE

3:47 min

Approaches to non-blocking software before Project Loom

Jan Weinschenker Jan Weinschenker · World Congress 2024

6:35 min

Managing thread lifecycles using structured task scopes

David Vlijmincx · LIVE

3:12 min

Solving thread blocking with reactive frameworks and Kotlin

Jan Weinschenker Jan Weinschenker · World Congress 2024

3:29 min

Handling asynchronous operations with native Kotlin coroutines

Georg Dresler Georg Dresler · World Congress 2026 Europe

1:27 min

Introduction to Loom and its impact on concurrency

Ivan Šarić Ivan Šarić · Europe 2026 Virtual

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 25, 2026 · 11:00–11:30

Stage 6

Loop Engineering: Designing and Observing the Loops That Run Your Agents With Opik

Abigail Morgan

AI Developer Advocate at Comet

Abigail Morgan
Open session

World Congress 2026 North America

September 25, 2026 · 16:10–16:40

Stage 1

Kubernetes Is Not Your Sandbox

Ivan Burazin

Ivan Burazin CEO and Co-Founder at Daytona

Ivan Burazin
Open session

World Congress 2026 North America

September 25, 2026 · 09:00–09:30

Stage 3

Your Thread Pool Is Lying to You — Sizing Concurrency from Rate Limits and Latency, Not Guesswork

Ratul Ghosh

Intuit, Tech lead and architect for GenOS platform

Ratul Ghosh
Open session

World Congress 2026 North America

September 24, 2026 · 13:30–14:00

Stage 4

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

September 24, 2026 · 17:30–18:00

Stage 7

Full Stack with Flutter - are we there yet?

Nemanja Stošić

Senior Flutter Developer

Nemanja Stošić
Open session

World Congress 2026 North America

September 24, 2026 · 17:30–18:00

Stage 2

From Guesswork to Governance: Data Contracts Bring API Discipline to Apache Kafka

Sandon Jacobs

Senior Developer Advocate at IBM

Sandon Jacobs