An open API service indexing awesome lists of open source software.

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

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.