FlipHash: A Constant-Time Consistent Range-Hashing Algorithm
Charles Masson, Homin K. Lee

TL;DR
FlipHash is a novel consistent range-hashing algorithm that operates in constant time, offering efficient data distribution and minimal remapping when resources change, outperforming previous methods like Jump Consistent Hash.
Contribution
This paper introduces FlipHash, a new constant-time consistent range-hashing algorithm with low memory usage, improving efficiency over existing methods like Jump Consistent Hash.
Findings
FlipHash achieves constant-time complexity.
FlipHash outperforms Jump Consistent Hash in experiments.
FlipHash ensures minimal remapping of keys when resources change.
Abstract
Consistent range-hashing is a technique used in distributed systems, either directly or as a subroutine for consistent hashing, commonly to realize an even and stable data distribution over a variable number of resources. We introduce FlipHash, a consistent range-hashing algorithm with constant time complexity and low memory requirements. Like Jump Consistent Hash, FlipHash is intended for applications where resources can be indexed sequentially. Under this condition, it ensures that keys are hashed evenly across resources and that changing the number of resources only causes keys to be remapped from a removed resource or to an added one, but never shuffled across persisted ones. FlipHash differentiates itself with its low computational cost, achieving constant-time complexity. We show that FlipHash beats Jump Consistent Hash's cost, which is logarithmic in the number of resources, both…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Advanced Image and Video Retrieval Techniques · Advanced Data Compression Techniques
