arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.12987cs.DBcs.PF
收藏

HiStore:基于RDMA的键值存储中混合索引的再思考

HiStore: Rethinking Hybrid Index in RDMA-based Key-Value Store

Shukai Han, Mi Zhang, Dejun Jiang, Jin Xiong

摘要:

RDMA(远程直接内存访问)被广泛用于构建键值存储以实现超低延迟。在基于RDMA的键值存储中,索引时间占总操作延迟的很大一部分(高达74%),因为RDMA支持快速数据访问。然而,在现有的基于RDMA的键值存储中使用的单一索引结构,无论是基于散列的索引还是排序的索引,都不能有效地支持范围查询,同时实现单点操作的高性能。在本文中,我们重新考虑在基于RDMA的键值存储中采用混合索引,以结合哈希表和排序索引的优点。我们提出了HiStore,一个基于RDMA的键值存储使用哈希表的单点查找和范围查询利用skiplist。为了在轻量级和高效的方法中保持强一致性,HiStore引入了索引组,其中跳过列表对应于哈希表,并异步地将更新应用于组内的跳过列表。在以前使用RDMA进行键值服务的工作的指导下,HiStore专门选择了不同的RDMA原语来优化读写性能。此外,HiStore容忍服务器的故障,这些服务器通过索引复制来维护索引结构,以实现高可用性。我们的评估结果表明,HiStore使用混合索引提高了GET和SCAN操作的性能(高达2.03倍)。

英文摘要:

RDMA (Remote Direct Memory Access) is widely exploited in building key-value stores to achieve ultra low latency. In RDMA-based key-value stores, the indexing time takes a large fraction (up to 74%) of the overall operation latency as RDMA enables fast data accesses. However, the single index structure used in existing RDMA-based key-value stores, either hash-based or sorted index, fails to support range queries efficiently while achieving high performance for single-point operations. In this paper, we reconsider the adoption of hybrid index in the key-value stores based on RDMA, to combine the benefits of hash table and sorted index. We propose HiStore, an RDMA-based key-value store using hash table for single-point lookups and leveraging skiplist for range queries. To maintain strong consistency in a lightweight and efficient approach, HiStore introduces index groups where a skiplist corresponds to a hash table, and asynchronously applies updates to the skiplist within a group. Guided by previous work on using RDMA for key-value services, HiStore dedicatedly chooses different RDMA primitives to optimize the read and write performance. Furthermore, HiStore tolerates the failures of servers that maintain index structures with index replication for high availability. Our evaluation results demonstrate that HiStore improves the performance of both GET and SCAN operations (by up to 2.03x) with hybrid index.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑