CHI::Driver::Memcached::libmemcached -- Distributed cache via Cache::Memcached::libmemcached
use CHI; my $cache = CHI->new( driver => 'Memcached::libmemcached', namespace => 'products', servers => [ "10.0.0.15:11211", "10.0.0.15:11212", "/var/sock/memcached", "10.0.0.17:11211", [ "10.0.0.17:11211", 3 ] ], debug => 0, compress_threshold => 10_000, );
A CHI driver that uses Cache::Memcached::libmemcached to store data in the specified memcached server(s). From the perspective of the CHI API, the feature set is nearly identical to CHI::Driver::Memcached.
Copyright (C) 2007 Jonathan Swartz.
CHI::Driver::Memcached is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.