Arctic: The First Index to Combine Lock-Free Speed, Range Scans, and Real-World Gains
Arctic: A Practical Lock-Free Adaptive Radix Tree
Arctic is a lock-free adaptive radix tree that delivers high performance, lock freedom, and range scans—a combination previously unavailable in indexing data structures. It outperforms lock-based indexes, including concurrent hash maps, across many YCSB configurations. A freezing-based coordination protocol and careful metadata layout guarantee non-blocking operation, while range and prefix scans are non-linearizable. Arctic also introduces a safe memory reclamation scheme using operation keys to approximate reachable pointers. Integrated into RocksDB and Turso, it boosts write-heavy benchmark throughput by up to 40% and 12% over default skiplist indexes.
Arctic is a lock-free adaptive radix tree that achieves all three: Arctic outcompetes lock-based indexes, including a concurrent hash map, on many YCSB configurations, guarantees non-blocking operation through careful metadata layout and an (eponymous) freezing-based coordination protocol, and offers non-linearizable range and prefix scans.
- nwtnni
Hi, first author here!
I've actually been working on a more approachable blog post introducing the data structure; wasn't expecting to see the paper here first! The repository is [here](https://github.com/nwtnni/arctic) and our latest benchmark results are [here](https://nwtnni.github.io/index-bench/) (forgive the janky UI). I'm happy to answer any questions--have been quite excited about this work since I believe it's the first time we have a lock-free tree that outperforms lock-based alternatives.
- vvern
I like the use of 16-byte atomics. We’ve reached the point that for servers and general-purpose computers we should assume they exist.
- p11p
The authors should have compared against the practical lock-free ART-tree implementation in flock, which IIUC is extremely fast: https://github.com/cmuparlay/flock