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
刚刚
爱笑嫣然完成签到 ,获得积分20
刚刚
培风发布了新的文献求助10
1秒前
jh完成签到,获得积分10
1秒前
fan完成签到,获得积分10
1秒前
浣熊完成签到 ,获得积分10
1秒前
2秒前
明理代真发布了新的文献求助30
2秒前
香冢弃了残红完成签到,获得积分10
2秒前
3秒前
潇洒若菱完成签到,获得积分10
4秒前
4秒前
lml发布了新的文献求助10
5秒前
丘比特应助gyf采纳,获得20
5秒前
5秒前
科研通AI6.4应助浮晨采纳,获得10
6秒前
7秒前
Owen应助hjn采纳,获得10
8秒前
8秒前
拾柒发布了新的文献求助10
8秒前
Grace发布了新的文献求助10
9秒前
脑洞疼应助南风采纳,获得30
9秒前
yyyy完成签到,获得积分10
10秒前
10秒前
科研通AI6.4应助孤独寻云采纳,获得10
10秒前
珊珊完成签到,获得积分10
10秒前
xjiao应助羲成采纳,获得20
10秒前
xinyan完成签到,获得积分10
11秒前
嘎嘣脆发布了新的文献求助10
11秒前
李健的小迷弟应助ys采纳,获得30
13秒前
14秒前
田様应助yrh采纳,获得10
14秒前
可爱的函函应助hana采纳,获得10
15秒前
领导范儿应助lml采纳,获得10
16秒前
华仔应助梁羽生采纳,获得10
16秒前
Akim应助Sledge采纳,获得10
17秒前
活泼烤鸡完成签到,获得积分20
17秒前
共享精神应助AtoZ采纳,获得10
17秒前
tt发布了新的文献求助10
17秒前
大吉大利完成签到,获得积分10
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Principles of town planning: translating concepts to applications 1000
Navigating Normative Orders. Interdisciplinary Perspectives 800
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7740783
求助须知:如何正确求助?哪些是违规求助? 9289329
关于积分的说明 20195239
捐赠科研通 7318946
什么是DOI,文献DOI怎么找? 3306525
关于科研通互助平台的介绍 2458797
邀请新用户注册赠送积分活动 2316770