The Data-Hash-Consistent package

[Tags:bsd3, library]

Provide a simple consistent hashing mechanism

[Skip to Readme]


Versions 0.1.0, 0.1.1
Dependencies base (>=3 && <6), bytestring, digest, vector, vector-algorithms [details]
License BSD3
Author brad clawsie
Stability experimental
Category Data
Home page
Uploaded Fri Oct 19 04:45:04 UTC 2012 by BradClawsie
Distributions NixOS:0.1.1
Downloads 692 total (8 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-05 [all 5 reports]


  • Data
    • Hash
      • Data.Hash.Consistent


splitbaseChoose the new smaller, split-up base package.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for Data-Hash-Consistent

Readme for Data-Hash-Consistent-0.1.0



A consistent hash is a technique to manage the fair distribution of cacheable entities among hosts. Each host identifier has its crc32 hash calculated and stored in a Vector along with its canonical host name. The host identifier may be differentiated from its canonical host name by a multiplying factor, in our case a simple integer appeneded to the hostname to provide it with a number of entries in the consistent hash, all evenly distributed.

This technique is explained in these links: