~/talk

How We Implemented Our Own Lock-free Dictionary

TalkinRussianat DotNext 2022 Spring · 2022-06-16..06-27· [concurrency]
links:none on file
slides:none on file

A team implemented a lock-free replacement for .NET's ConcurrentDictionary for an internal data storage service, using lock-free algorithms to address memory consumption issues of the standard implementation. The talk explains which techniques made the lower memory usage possible, discusses when it makes sense to implement custom (“bicycle”) concurrent data structures, and highlights important multithreading details encountered during development.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Zebra service
  3. 7:49Dictionary requirements
  4. 9:16Standard dictionary issues
  5. 13:30Memory model basics
  6. 18:10Threading optimizations
  7. 23:30Volatile keyword
  8. 29:22Processor memory models
  9. 35:29Lock-free implementation
  10. 36:33Performance results
  11. 40:08Memory usage impact
  12. 41:14Conclusions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.