Better Parallel C# Code with Channels — Jeremy Clark
Kevin Griffin [#dotnet | #Azure]
0:00 / 0:00
Better Parallel C# Code with Channels — Jeremy Clark
1 422 просмотра · 4 г. назад
Kevin Griffin [#dotnet | #Azure]
1,36 тыс. подписчиков
1 422 просмотра · 4 г. назад
Better Parallel Code with C# Channels
Producer/consumer problems show up in a lot of programming scenarios, including data processing and machine learning. Channels give us a thread-safe way to communicate between producers and consumers, and we can run them all concurrently. In this presentation, we will explore channels by comparing parallel tasks with continuations to using a producer/consumer model. In the end, we'll have another tool in our toolbox to help us with concurrent programming.
About Jeremy Clark
Jeremy Clark makes developers better. By drawing on over 15 years of experience in application development, he helps developers take a step up in their skillset with a focus on making complex topics approachable regardless of skill level. He is a Microsoft MVP for .NET, and he has authored seven courses for Pluralsight, including "C# Interfaces", a course aimed at giving developers a clear understanding of abstraction. He loves speaking and has delivered over 300 technical presentations in the last 10 years in the United States and Europe. Jeremy lives in northern Washington with his lovely wife, 3 cats, 2 dogs, and a banjo.
Links
/ jeremybytes
http://www.jeremybytes.com/
00:00:00 Introduction
00:02:35 Presentation Start
00:04:33 What are Channels?
00:10:40 Code!
00:33:19 Producer / Consumer Model
00:37:04 More Code!
01:06:15 Real-Life Example
01:19:14 Questions and Wrap up