AnyEvent::Redis::RipeRedisNon-blocking Redis client with auto reconnect feature | |
Download |
AnyEvent::Redis::RipeRedis Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Eugene Ponizovsky
- Publisher web site:
- http://search.cpan.org/~iph/
AnyEvent::Redis::RipeRedis Tags
AnyEvent::Redis::RipeRedis Description
AnyEvent::Redis::RipeRedis is a non-blocking Redis client, written in Perl, with auto reconnect feature. It supports subscriptions, transactions, has simple API and it faster than AnyEvent::Redis.SYNOPSIS use AnyEvent; use AnyEvent::Redis::RipeRedis; my $cv = AnyEvent->condvar(); my $redis = AnyEvent::Redis::RipeRedis->new( host => 'localhost', port => '6379', password => 'your_password', encoding => 'utf8', on_connect => sub { print "Connected\n"; }, on_error => sub { my $err = shift; warn "$err\n"; }, ); # Set value $redis->set( 'bar', 'Some string', { on_done => sub { my $data = shift; print "$data\n"; $cv->send(); }, on_error => sub { my $err = shift; warn "$err\n"; $cv->croak(); }, } ); $cv->recv();Product's homepage
AnyEvent::Redis::RipeRedis Related Software