← 研踪 PaperTrailarXiv:2611.41404 · v1
TimeVault: A B+ Tree with RCU-based Multi-Versioning
首次提交 2026-11-30 23:30
版本更新 2026-11-30 23:30
雷达观测 2026-12-01 15:30
摘要
As CPU core counts grow, concurrent indexes require synchronization that scales efficiently. In pursuit of scalability, some indexes have adopted Read-Copy-Update (RCU). And while RCU is indeed highly scalable, especially in read-heavy scenarios, RCU's potential extends beyond efficient synchronization. RCU implementations internally create and manage multiple versions of the protected data for synchronization purposes, but do not expose access to older versions to the user. At the same time, MVCC requires multi-version capabilities, such as access to older versions, which DBMSs typically implement separately on top of the used indexes. We present TimeVault, an RCU-based B+ tree that fuses both multi-versioning systems into one dual-purpose system. To this end, we extend traditional QSBR-RCU to Multi-Version RCU, which enables support for atomic range queries and time-travel queries. We further devise Speculative Traversal Locking, a novel, highly efficient locking scheme based on the existence guarantees provided by RCU. In workloads including writes or range queries, TimeVault achieves on average 2-4x and up to 160x higher throughput and up to three orders of magnitude lower tail latency than state-of-the-art indexes.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-30 23:30 · 最新观测版本
TimeVault: A B+ Tree with RCU-based Multi-Versioning
As CPU core counts grow, concurrent indexes require synchronization that scales efficiently. In pursuit of scalability, some indexes have adopted Read-Copy-Update (RCU). And while RCU is indeed highly scalable, especially in read-heavy scenarios, RCU's potential extends beyond efficient synchronization. RCU implementations internally create and manage multiple versions of the protected data for synchronization purposes, but do not expose access to older versions to the user. At the same time, MVCC requires multi-version capabilities, such as access to older versions, which DBMSs typically implement separately on top of the used indexes. We present TimeVault, an RCU-based B+ tree that fuses both multi-versioning systems into one dual-purpose system. To this end, we extend traditional QSBR-RCU to Multi-Version RCU, which enables support for atomic range queries and time-travel queries. We further devise Speculative Traversal Locking, a novel, highly efficient locking scheme based on the existence guarantees provided by RCU. In workloads including writes or range queries, TimeVault achieves on average 2-4x and up to 160x higher throughput and up to three orders of magnitude lower tail latency than state-of-the-art indexes.
查看此版本解读 →查看此版本原文 ↗