Proc. VLDB Endow. | 2019

S3: A Scalable In-memory Skip-List Index for Key-Value Store

 
 
 
 
 
 
 
 

Abstract


Many new memory indexing structures have been proposed and outperform current in-memory skip-list index adopted by LevelDB, RocksDB and other key-value systems. However, those new indexes cannot be easily intergrated with key-value systems, because most of them do not consider how the data can be efficiently flushed to disk. Some assumptions, such as fixed size key and value, are unrealistic for real applications. In this paper, we present S3, a scalable in-memory skip-list index for the customized version of RocksDB in Alibaba Cloud. S3 adopts a two-layer structure. In the top layer, a cache-sensitive structure is used to maintain a few guard entries to facilitate the search over the skip-list. In the bottom layer, a semi-ordered skip-list index is built to support highly concurrent insertions and fast lookup and range query. To further improve the performance, we train a neural model to select guard entries intelligently according to the data distribution and query distribution. Experiments on multiple datasets show that S3 achieves a comparable performance to other new memory indexing schemes, and can replace current in-memory skip-list of LevelDB and RocksDB to support huge volume of data. PVLDB Reference Format: Jingtian Zhang, Sai Wu, Zeyuan Tan, Gang Chen, Zhushi Cheng, Wei Cao, Yusong Gao, Xiaojie Feng . S3: A Scalable In-memory Skip-List Index for Key-Value Store. PVLDB, 12(12): 2183-2194, 2019. DOI: https://doi.org/10.14778/3352063.3352134

Volume 12
Pages 2183-2194
DOI 10.14778/3352063.3352134
Language English
Journal Proc. VLDB Endow.

Full Text