Arctic is a lock-free adaptive radix tree designed to combine high performance, non-blocking operations, and support for range scans - capabilities the researchers say existing indexes do not offer together. Its coordination protocol “freezes” parts of the tree during updates, while a carefully arranged metadata layout helps ensure operations can make progress without waiting for a lock. Arctic also supports range and prefix scans that are not linearizable, meaning their results need not reflect one single instant in time. To reclaim memory safely, it introduces a method that uses operation keys to estimate which pointers may still be reachable.
In evaluations, Arctic outperformed lock-based indexes, including a concurrent hash map, across many YCSB workload configurations. The team also integrated it into the RocksDB and Turso storage systems, replacing their default skiplist indexes. On write-heavy benchmarks, those integrations improved throughput by up to 40% in RocksDB and 12% in Turso. The work’s central contribution is a practical index that brings together concurrency, performance, and scanning support, while demonstrating that its benefits extend beyond standalone data-structure tests to widely used database systems.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.