NAME

ShardedKV::Continuum::Ketama - Continuum implementation based on ketama consistent hashing

VERSION

version 0.18

SYNOPSIS

use ShardedKV;
use ShardedKV::Continuum::Ketama;
my $skv = ShardedKV->new(
  continuum => ShardedKV::Continuum::Ketama->new(
    from => [ [shard1 => 100], [shard2 => 200], ... ],
  ),
  storages => {...},
);

DESCRIPTION

A continuum implementation based on ketama consistent hashing. See Algorithm::ConsistentHash::Ketama.

SEE ALSO

AUTHORS

  • Steffen Mueller <smueller@cpan.org>

  • Nick Perez <nperez@cpan.org>

  • Damian Gryski <dgryski@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Steffen Mueller.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.