NAME

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

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

ShardedKV, ShardedKV::Continuum

AUTHOR

Steffen Mueller <smueller@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Steffen Mueller

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.