An implementation of highest random weight (HRW) hashing, also called rendezvous hashing. See https://en.wikipedia.org/wiki/Rendezvous_hashing.
||A collection of sites to distribute keys across.|
||A site/node is a unique location to which you want a subset of keys to be distributed.|
||A table of sites, indexed by their id.|
A collection of sites to distribute keys across.
A site/node is a unique location to which you want a subset of keys to be distributed.
Add a site to a pool.
Returns: F is the site is already in the pool, else T.
Returns: the site to which the key maps.