~/talk

Wait, What? C# Async-Await Explained

Talkat Commit Your Code 2025 · 2025-09-25..09-26· [devops-and-delivery]
links:none on file
slides:none on file

Claims that C# async-await does not automatically run things in parallel but instead frees thread pool threads by emitting a continuation and relying on the OS completion mechanism IOCP. Demonstrates with HttpClient REST examples that awaiting sequentially is effectively synchronous, contrasts that with creating tasks and awaiting Task.WhenAll to get true overlap, uses a three-thread thought experiment and tens-of-thousands scale reasoning to show why this actually works for high-concurrency servers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Why async matters in C#
  3. 2:48Async vs sync analogy
  4. 4:54Code example surprises
  5. 6:17Problem async solves
  6. 8:05Thread pool mechanics
  7. 9:50Continuations free threads
  8. 12:00Async purpose and scalability
  9. 13:25Async in cloud essential
  10. 13:47Proper async with Task.WhenAll
  11. 15:14IO vs CPU work
  12. 17:01IOCP powers async
  13. 18:29Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.