Affiliation:
1. Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University and Shanghai AI Laboratory and Engineering Research Center for Domain-specific Operating Systems, Ministry of Education, China
Abstract
We present XIndex, which is a concurrent index library and designed for fast queries. It includes a concurrent ordered index (XIndex-R) and a concurrent hash index (XIndex-H). Similar to a recent proposal of the learned index, the indexes in XIndex use learned models to optimize index efficiency. Compared with the learned index, for the ordered index, XIndex-R is able to handle concurrent writes effectively and adapts its structure according to runtime workload characteristics. For the hash index, XIndex-H is able to avoid the resize operation blocking concurrent writes. Furthermore, the indexes in XIndex can index string keys much more efficiently than the learned index. We demonstrate the advantages of XIndex with YCSB, TPC-C (KV), which is a TPC-C-inspired benchmark for key-value stores, and micro-benchmarks. Compared with ordered indexes of Masstree and Wormhole, XIndex-R achieves up to 3.2× and 4.4× performance improvement on a 24-core machine. Compared with hash indexes of Intel TBB HashMap, XIndex-H achieves up to 3.1× speedup. The performance further improves by 91% after adding the optimizations on indexing string keys. The library is open-sourced.
1
Funder
National Natural Science Foundation of China
HighTech Support Program from Shanghai Committee of Science and Technology
National Key Research and Development Program of China
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture
Reference62 articles.
1. Concurrency of operations on B-trees
2. STX B+ Tree C++ Template Classes;Bingmann Timo;https://panthema.net/2007/stx-btree/,2013
3. HOT
4. Space/time trade-offs in hash coding with allowable errors
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Making In-Memory Learned Indexes Efficient on Disk;Proceedings of the ACM on Management of Data;2024-05-29
2. Learned Index: A Comprehensive Experimental Evaluation;Proceedings of the VLDB Endowment;2023-04