~/talk

Multithreading in .NET: When Performance Isn't Enough

TalkinRussianat DotNext 2019 Piter · 2019-05-15..05-16· [concurrency, dotnet]
links:none on file
slides:none on file

Problems that arise when using .NET multithreading primitives (Task.Delay, SemaphoreSlim, ConcurrentDictionary) for high-performance scenarios — long waits on locks, excessive memory use and long GCs. Shows how general-purpose thread-safe collections and synchronization primitives can add unnecessary overhead and presents custom, task-specific implementations and patterns that avoid those performance pitfalls; includes examples and a look at techniques used inside .NET internals.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Timer issues in .NET
  3. 15:36Optimizing Slim Semaphore
  4. 28:54Async I/O and overflow
  5. 35:38ConcurrentDictionary drawbacks
  6. 57: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.