
This video is currently available only for GOTO Chicago 2024
attendees.
Click to enter password.
Structured Concurrency: Managing the Hierarchical Cancelation & Error Handling
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.
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.