https://github.com/mons/hash-consistentring
Consistent Ring Hashing used in Graphite
https://github.com/mons/hash-consistentring
Last synced: 10 months ago
JSON representation
Consistent Ring Hashing used in Graphite
- Host: GitHub
- URL: https://github.com/mons/hash-consistentring
- Owner: Mons
- Created: 2014-03-05T00:19:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-05T00:20:06.000Z (over 12 years ago)
- Last Synced: 2023-03-10T20:33:10.090Z (over 3 years ago)
- Language: C
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Hash::ConsistentRing - Consistent Ring Hashing used in Graphite
SYNOPSIS
use Hash::ConsistentRing;
my $ring = Hash::ConsistentRing->new(
nodes => [
['node0host','port'],
['node1host','port'],
]
);
my $node = $ring->get("key");
DESCRIPTION
SEE ALSO
https://github.com/graphite-project/carbon/blob/master/lib/carbon/hashin
g.py
AUTHOR
Mons Anderson
md5 code was completely derived from Gisle Aas' Digest::MD5
COPYRIGHT AND LICENSE
Copyright (c) 2014 by Mons Anderson
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, either Perl version 5.10.1 or, at
your option, any later version of Perl 5 you may have available.