AnchorHash:一种可扩展的一致性哈希算法
AnchorHash: A Scalable Consistent Hash
摘要:
一致性哈希(CH)是许多网络应用程序中的核心构建块,从数据中心负载平衡到分布式存储。不幸的是,最先进的CH解决方案无法确保在任意更改下的完全一致性,并且/或者无法在保持合理的内存占用和更新时间的同时进行扩展。我们提出了AnchorHash,一个可扩展的和完全一致的哈希算法。AnchorHash实现了高密钥查找率、低内存占用和低更新时间。我们正式建立其强有力的理论保证,并提出了先进的实现,每个资源只有几个字节的内存占用。此外,广泛的评估表明,它的性能优于最先进的算法,并且它可以在单核上扩展到1亿个资源,同时仍然实现每秒超过1500万个键的键查找速率。
英文摘要:
Consistent hashing (CH) is a central building block in many networking applications, from datacenter load-balancing to distributed storage. Unfortunately, state-of-the-art CH solutions cannot ensure full consistency under arbitrary changes and/or cannot scale while maintaining reasonable memory footprints and update times. We present AnchorHash, a scalable and fully-consistent hashing algorithm. AnchorHash achieves high key lookup rates, a low memory footprint, and low update times. We formally establish its strong theoretical guarantees, and present advanced implementations with a memory footprint of only a few bytes per resource. Moreover, extensive evaluations indicate that it outperforms state-of-the-art algorithms, and that it can scale on a single core to 100 million resources while still achieving a key lookup rate of more than 15 million keys per second.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。