Structured Concurrency: Managing the Hierarchical Cancelation and Error Handling

Originally aired:

About the Session

Concurrency is a fundamental part of modern software development, but the many approaches available differ significantly in how they handle cancellation and errors. Structured Concurrency offers a solution that simplifies typical fan-out and fan-in scenarios, making it easier to manage tasks, particularly when sub-tasks need to be canceled or can produce errors.

In this talk, we’ll introduce the concept of Structured Concurrency and demonstrate how it can be applied in real-world use cases, particularly for managing hierarchical cancellation and error handling. We’ll compare different approaches to concurrency in Java, Kotlin, and Scala, exploring how Structured Concurrency provides a more predictable and maintainable model for managing tasks. We will also cover the enhancements brought by Project Loom in Java, which integrates Structured Concurrency principles directly into the language, making concurrent programming more intuitive.

Additionally, we’ll discuss the integration of Scoped Values with Structured Concurrency, a feature that allows for seamless propagation of contextual information across concurrency boundaries without the need for explicitly passing data through method parameters.

By the end of this session, you’ll have a solid understanding of how to apply Structured Concurrency across multiple languages and how it can help you build more reliable, maintainable, and efficient concurrent applications.

Target Audience: This session is aimed at Java Developers, Kotlin Developers, and Scala Developers who are looking to simplify concurrent programming and improve error handling in their applications. Software Architects and Tech Leads will also benefit from understanding the principles of Structured Concurrency and its advantages for building robust and maintainable systems.

Structured Concurrency: Managing the Hierarchical Cancelation and Error Handling

Originally aired:

Speakers

GIDS 2025

Related Presentations

See Highlights

Hear What Attendees Say

PwC

“Once again Saltmarch has knocked it out of the park with interesting speakers, engaging content and challenging ideas. No jetlag fog at all, which counts for how interesting the whole thing was."

Cybersecurity Lead, PwC

Intuit

“Very much looking forward to next year. I will be keeping my eye out for the date so I can make sure I lock it in my calendar."

Software Engineering Specialist, Intuit

GroupOn

“Best conference I have ever been to with lots of insights and information on next generation technologies and those that are the need of the hour."

Software Architect, GroupOn

Hear What Speakers & Sponsors Say

Scott Davis

“Happy to meet everyone who came from near and far. Glad to know you've discovered some great lessons here, and glad you joined us for all the discoveries great and small."

Web Architect & Principal Engineer, Scott Davis

Dr. Venkat Subramaniam

“Wonderful set of conferences, well organized, fantastic speakers, and an amazingly interactive set of audience. Thanks for having me at the events!"

Founder of Agile Developer Inc., Dr. Venkat Subramaniam

Oracle Corp.

“What a buzz! The events have been instrumental in bringing the whole software community together. There has been something for everyone from developers to architects to business to vendors. Thanks everyone!"

Voltaire Yap, Global Events Manager, Oracle Corp.