Module jhn_chash

Consistent hashing.

Copyright © (C) 2016-2024, Jan Henry Nystrom <JanHenryNystrom@gmail.com> -------------------------------------------------------------------

Authors: Jan Henry Nystrom (JanHenryNystrom@gmail.com).

Description

Consistent hashing

Jump consistent hashing based on: A Fast, Minimal Memory, Consistent Hash Algorithm by John Lamping and Eric Veach

Function Index

jump/2 Given a integer key and the number of buckets it select a bucket.

Function Details

jump/2

jump(Key::integer(), Buckets::integer()) -> integer()

Given a integer key and the number of buckets it select a bucket.


Generated by EDoc