Steffen Müller > ShardedKV-Continuum-CHash > ShardedKV::Continuum::CHash

Download:
ShardedKV-Continuum-CHash-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

ShardedKV::Continuum::CHash - Continuum implementation based on Algorithm::ConsistentHash::CHash

VERSION ^

version 0.01

SYNOPSIS ^

  use ShardedKV;
  use ShardedKV::Continuum::CHash;
  my $skv = ShardedKV->new(
    continuum => ShardedKV::Continuum::CHash->new(
      from => {
        ids => [qw(node1 node2 node3 node4)],
        replicas => 200,
      }
    ),
    storages => {...},
  );
  ...
  $skv->extend({ids => [qw(node5 node6 node7)]});

DESCRIPTION ^

A continuum implementation based on libchash consistent hashing. See Algorithm::ConsistentHash::CHash.

SEE ALSO ^

AUTHOR ^

Steffen Mueller <smueller@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.

syntax highlighting: