NAME
Shardcache::Client - Client library to access shardcache nodes
SYNOPSIS
use Shardcache::Client;
# To connect to one of the nodes and perform any operation
$c = Shardcache::Client->new("localhost:4444", "my_shardcache_secret");
# If you want Shardcache::Client to make sure requets go to the owner of the key
$c = Shardcache::Client->new(["peer1:localhost:4443", "peer2:localhost:4444", ...],
"my_shardcache_secret");
$c->set("key", "value");
$v = $c->get("key");
$c->del("key");
DESCRIPTION
Client library to access shardcache nodes (based on libshardcache) This module allow committing get/set/del operations to the shardcache cloud communicating with any of the nodes over their internal channel
SEE ALSO
AUTHOR
Andrea Guzzo, <xant@apple.com>
COPYRIGHT AND LICENSE
Copyright (C) 2013 by Andrea Guzzo
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.