This is not the Async you are looking for
summary
Explains exactly what Async/Await does and does not do: it helps with IO-bound work like CopyFileAsync with streams but not unlimited CPU parallelism, returning Task matters, and missing the async modifier causes hidden exceptions. Shows a real production failure where firing 100 tasks saturates CPU and crashes a host, and demos a fix with TPL Dataflow ActionBlock with MaxDegreeOfParallelism=4 plus throttling and fanout. Covers cancellation semantics — cancellation token cancels and deletes temp files — and how exceptions surface via Task aggregates versus immediate throws.
AI-written summary · about
chapters (8)
- 0:00Start
- 2:44Getting rid of the hourglass
- 3:22Step 1 - analyse your problem
- 40:09Exceptions with async ... await
- 42:29TPL Dataflow - in process Actor pattern
- 45:21A solution - the Actor model
- 58:05Summary of block types
- 59:17General concurrency issues
related talks
01h 11mEverything You (Don’t) Want to Know About Async and Await in C#
58mBack to Basics: Efficient Async and Await
01h 05mCorrecting Common Async/Await Mistakes in .NET 10
59mAsynchronous Programming From The Ground Up
01h 00mCorrecting Common Async/Await Mistakes in .NET 8
57mBack to Basics: Efficient Async and Await
55mAsync internals in .NET
57mAsync programming in .NET: Best practices
