arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.19836cs.DCcs.DS
收藏

BinomialHash:一种常数时间、最小内存的一致性哈希算法

BinomialHash: A Constant Time, Minimal Memory Consistent Hash Algorithm

Massimo Coluzzi, Amos Brocco, Alessandro Antonucci, Tiziano Leidi

AI总结:

本文提出 BinomialHash 一致性哈希算法,实现常数时间查找与最小内存占用,并通过伪代码、理论证明及对比实验验证其性能与边界。

摘要:

一致性哈希是一种用于在节点网络中分配数据的技术,当节点加入或离开网络时,它能最大限度地减少数据重组。作为路由和数据放置的基础机制,它被广泛应用于现代分布式系统。类似地,分布式存储系统也依赖一致性哈希来实现可扩展且容错的数据分区。本文介绍了 BinomialHash,这是一种以常数时间执行且仅需最小内存的一致性哈希算法。我们详细解释了该算法,给出了伪代码实现,并形式化地确立了其强有力的理论保证。最后,我们将其性能与最先进的常数时间一致性哈希算法进行比较,证明我们的方案既具有高度竞争力又切实有效,同时验证了理论边界。

英文摘要:

Consistent hashing is a technique for distributing data across a network of nodes in a way that minimizes reorganization when nodes join or leave the network. It is extensively applied in modern distributed systems as a fundamental mechanism for routing and data placement. Similarly, distributed storage systems rely on consistent hashing for scalable and fault-tolerant data partitioning. This paper introduces BinomialHash, a consistent hashing algorithm that executes in constant time and requires minimal memory. We provide a detailed explanation of the algorithm, present a pseudo-code implementation, and formally establish its strong theoretical guarantees. Finally, we compare its performance against state-of-the-art constant-time consistent hashing algorithms, demonstrating that our solution is both highly competitive and effective, while also validating the theoretical boundaries.

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

↑