RendezvousHash


Object Hierarchy:

Object hierarchy for RendezvousHash

Description:

public class RendezvousHash : Object

Weighted rendezvous hash (highest-random-weight hashing).

RendezvousHash assigns each key to the node with the highest score. It also supports selecting top-N nodes for replication and per-node weight for heterogeneous clusters.

Example:

    var hash = new RendezvousHash ();
hash.addNode ("node-a");
hash.addNode ("node-b");

string? node = hash.getNode ("user:42");


Namespace: Vala.Distributed
Package: Valacore

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object