Home Conference Sessions Structured Concu...

Structured Concurrency: Managing the Hierarchical Cancelation & Error Handling

James Ward | GOTO Chicago 2024

You need to be signed in to add a collection

There are many approaches to concurrency all with different ways of handling cancellation and errors. Structured Concurrency is an approach that makes typical fan-out and fan-in use cases like races, easier to manage especially when sub-tasks need to be canceled or can produce errors. This talk will introduce the concept of Structured Concurrency and compare different approaches (with and without Loom) in Java, Kotlin, and Scala. Whether you are new to concurrency or familiar with the typical approaches, you will learn about new ways of tackling the complexities and how they vary across languages and frameworks.

Share on:
linkedin facebook
Copied!

Transcript

There are many approaches to concurrency all with different ways of handling cancellation and errors. Structured Concurrency is an approach that makes typical fan-out and fan-in use cases like races, easier to manage especially when sub-tasks need to be canceled or can produce errors. This talk will introduce the concept of Structured Concurrency and compare different approaches (with and without Loom) in Java, Kotlin, and Scala. Whether you are new to concurrency or familiar with the typical approaches, you will learn about new ways of tackling the complexities and how they vary across languages and frameworks.

About the speakers

James Ward

James Ward

Developer Advocate at AWS