Cory Benfield

Cory Benfield


Talk Details

Title

Structured Concurrency for Server Developers

Description

Swift Concurrency revolutionized concurrent and parallel programming in Swift. Concurrency added a number of important features, such as actors and the async/await syntax, that make it easier than ever to write correct concurrent code in Swift. These features have been widely adopted in the server ecosystem, and they’re empowering server developers to write better services than ever before. Alongside these features, Swift Concurrency introduced the new programming style of structured concurrency. Adopting structured concurrency brings a wide range of benefits: it makes object lifetimes simpler, makes it easier to clean up, ensures errors aren’t lost, and makes it easier to reason about your concurrent code. In this talk, we will introduce the concepts at the heart of structured concurrency and explains the value your services get from adopting it. We will then lay out a recommended structure for adopting structured concurrency on the server, including how to write NIO-based services with this new pattern.

About the Speaker

Position

Senior Software Engineer at Apple

Bio

Cory is a serial open source contributor and maintainer with almost a decade of experience building, maintaining, and innovating open source networking frameworks and protocol libraries. He's spent time as a core contributor or lead maintainer on a number of Python HTTP libraries and networking frameworks, including Requests, Hyper, and Twisted. Currently Cory is a Senior Software Engineer at Apple, putting his skills to use on high-performance networking frameworks such as SwiftNIO, Netty, and more.