Rendezvous
Implementation of the Rendezvous or Highest Random Weight (HRW) hashing algorithm in the Elixir Programming Language (elixir-lang.org)
License
Check LICENSE file for more information.
Usage
Use Rendezvous.get to obtain for an object the corresponding buckets from a list of buckets. The first parameter defines the hashing algorithm to use.
object = "Some object to put in bucket"
buckets = ["bucket A", "bucket B", "bucket C"]
Rendezvous.get(:sha, object, buckets)