View Source jhn_chash (jhn_stdlib v5.3.3)
Consistent hashing
Jump consistent hashing based on: A Fast, Minimal Memory, Consistent Hash Algorithm by John Lamping and Eric Veach
Summary
Functions
Given a integer key and the number of buckets it select a bucket.
Functions
Given a integer key and the number of buckets it select a bucket.