Efficient Concurrent Updates to Persistent Randomized Binary Search Trees
Guanhao Hou, Jinchao Huang, Fangyuan Zhang, Sibo Wang
摘要
In the era of big data, the demand for historical data analytics is growing across various applications. Simultaneously, range queries have been extensively explored within the domain of databases. Binary search trees are a classic type of in-memory index for facilitating range queries. Persistent binary search trees provide read-only snapshots of these trees, allowing range queries to be processed during updates while ensuring consistency. Additionally, multiple versions of snapshots support queries related to historical moments to meet the demands of numerous applications.
However, existing implementations do not support both highspeed updates and efficient, accurate historical queries on multi-core platforms. Motivated by this gap, we propose a novel concurrent update strategy to balance update and query performance. For a binary search tree containing n elements, our approach completes m updates in O (log n + m ) time using O (log n ) threads. We further implement a hybrid concurrent strategy to improve the scalability and practical performance of our solution.
The experimental results demonstrate that our proposal strikes a good balance between update and query performance. In particular, our proposal outperforms existing solutions under workloads with different data distributions and varying update-query ratios.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Concurrent Path-Copying Update to Tree Structures 引用了 At-the-time and Back-in-time Persistent Sketches
- Concurrent Path-Copying Update to Tree Structures 引用了 HINT: A Hierarchical Index for Intervals in Main Memory
- PaC-trees: supporting parallel and compressed purely-functional collections 引用了 Constant-time snapshots with applications to concurrent data structures
- LIT: Lightning-fast In-memory Temporal Indexing 引用了 HINT: A Hierarchical Index for Intervals in Main Memory
引用它的顶会 Paper1
它引用的 Paper5
- Constant-time snapshots with applications to concurrent data structuresYuanhao Wei, Naama Ben-David, Guy E. Blelloch, Panagiota Fatourou 等PPoPP 2021 · 37 次引用
- HINT: A Hierarchical Index for Intervals in Main MemoryGeorge Christodoulou, Panagiotis Bouros, Nikos MamoulisSIGMOD 2022 · 17 次引用
- PaC-trees: supporting parallel and compressed purely-functional collectionsLaxman Dhulipala, Guy E. Blelloch, Yan Gu, Yihan SunPLDI 2022 · 16 次引用
- At-the-time and Back-in-time Persistent SketchesBenwei Shi, Zhuoyue Zhao, Yanqing Peng, Feifei Li 等SIGMOD 2021 · 15 次引用
- LIT: Lightning-fast In-memory Temporal IndexingGeorge Christodoulou, Panagiotis Bouros, Nikos MamoulisSIGMOD 2024 · 10 次引用
相关 Paper
- On Supporting Efficient Snapshot Isolation for Hybrid Workloads with Multi-Versioned IndexesYihan Sun, Guy E. Blelloch, Wan Shen Lim, Andrew PavloVLDB 2020 · 37 次引用
- AB-tree: Index for Concurrent Random Sampling and UpdatesZhuoyue Zhao, Dong Xie, Feifei LiVLDB 2022 · 7 次引用
- External Memory Fully Persistent Search TreesGerth Stølting Brodal, Casper Moldrup Rysgaard, Rolf SvenningSTOC 2023 · 2 次引用
- CCL-BTree: A Crash-Consistent Locality-Aware B+-Tree for Reducing XPBuffer-Induced Write Amplification in Persistent MemoryZhenxin Li, Shuibing He, Zheng Dang, Peiyi Hong 等EuroSys 2024 · 4 次引用
- DPTree: Differential Indexing for Persistent MemoryXinjing Zhou, Lidan Shou, Ke Chen, Wei Hu 等VLDB 2020 · 74 次引用
