Fast Consistent Hashing in Constant Time

作者
Eric Leu
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:1
标识
DOI:10.48550/arxiv.2307.12448
摘要

Consistent hashing is a technique that can minimize key remapping when the number of hash buckets changes. The paper proposes a fast consistent hash algorithm (called power consistent hash) that has $O(1)$ expected time for key lookup, independent of the number of buckets. Hash values are computed in real time. No search data structure is constructed to store bucket ranges or key mappings. The algorithm has a lightweight design using $O(1)$ space with superior scalability. In particular, it uses two auxiliary hash functions to achieve distribution uniformity and $O(1)$ expected time for key lookup. Furthermore, it performs consistent hashing such that only a minimal number of keys are remapped when the number of buckets changes. Consistent hashing has a wide range of use cases, including load balancing, distributed caching, and distributed key-value stores. The proposed algorithm is faster than well-known consistent hash algorithms with $O(\log n)$ lookup time.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
聪慧板凳完成签到,获得积分10
1秒前
诚末发布了新的文献求助10
1秒前
2秒前
yangm9完成签到,获得积分10
2秒前
4秒前
4秒前
4秒前
慕青的应助被科研通管家采纳,获得10
5秒前
芒果的应助被科研通管家采纳,获得10
5秒前
华仔的应助被科研通管家采纳,获得10
5秒前
烟花的应助被科研通管家采纳,获得10
5秒前
5秒前
上官若男的应助被科研通管家采纳,获得10
5秒前
5秒前
6秒前
6秒前
Lucas的应助被科研通管家采纳,获得10
6秒前
华仔的应助被科研通管家采纳,获得10
6秒前
充电宝的应助被科研通管家采纳,获得10
6秒前
Lny的应助被科研通管家采纳,获得10
6秒前
ling完成签到,获得积分10
7秒前
牛奶牛奶发布了新的文献求助10
7秒前
顾矜的应助被乐观的阿这采纳,获得10
9秒前
9秒前
rae发布了新的文献求助10
9秒前
9秒前
10秒前
10秒前
拒绝要说No完成签到 ,获得积分10
10秒前
orixero的应助被体贴洋葱采纳,获得10
10秒前
英姑的应助被LL采纳,获得10
11秒前
12秒前
很i发布了新的文献求助10
13秒前
开心依珊发布了新的文献求助10
13秒前
14秒前
shiya完成签到,获得积分10
15秒前
15秒前
山俗发布了新的文献求助10
16秒前
yanzi完成签到 ,获得积分10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1080
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Das Matthäusevangelium: Kapitel 1:1–17 1000
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
Cellulose and Cellulose Derivatives: Synthesis, Modification and Applications 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8143508
求助须知:如何正确求助?哪些是违规求助? 9542931
关于积分的说明 21654782
捐赠科研通 7728876
什么是DOI,文献DOI怎么找? 3422053
关于科研通互助平台的介绍 2547404
邀请新用户注册赠送积分活动 2464899