~/lightning

Lightning talk: ArcShift: Going faster than RwLock

Lightningat Rustikon 2025 · on Wednesday, 2025-03-26· [rust, concurrency]
links:none on file
slides:none on file

ArcShift is a lock-free replacement for ArcRwLock that adds next/prev/advance links so readers do a relaxed atomic read and follow a chain of immutable values instead of incrementing a reader counter. Benchmarks show about 10× faster read in microbenchmarks and up to 100× faster under contention while updates are ~5× slower. Memory reclamation uses an advance and GC protocol and the implementation is validated with loom, shuttle, MIRI, cargo‑mutants and published on crates.io as ArcShift.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:04Performance challenges
  3. 1:52Data layout and design
  4. 3:29The ArcShift architecture
  5. 5:06Benchmarking results
  6. 6:38Lock-free theory
  7. 7:22Assuring correctness
  8. 10:05Conclusion
~/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.