~/talk

Make Valkey Multi-threaded With Userspace RCU

name:Jim Huang
github:jserv
slides:none on file

Modified Valkey implements a coordinator–worker pattern with per-thread event loops and a single-writer/multiple-reader model using userspace RCU to enable lock-free reads and automatic memory reclamation. The prototype changes under 2,000 lines of code to add master/worker/subthread I/O, an RCU-backed lock-free dictionary, and writer serialization; it consistently improves throughput and often outperforms the baseline, reaching >1,000,000 ops/sec on a standard server while noting unstable tail latency across RCU flavors.

AI-written summary · about

  1. 0:00Multi-threaded Valkey with RCU
  2. 1:05NT Radius prototype changes
  3. 3:00Concurrency challenges
  4. 7:16Master-worker-subthread
  5. 11:18Lock-free with RCU
  6. 16:20Benchmark setup and RCU
  7. 17:23Cache performance results
  8. 18:48Read-write ratio performance
  9. 20:13Comparison with Valkey
  10. 24:53Latency matrix analysis
  11. 26:43RCU integration advantages
  12. 29:14Research prototype summary
  13. 30:41Q&A
~/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.