CHI::Driver::Memcached::Fast -- Distributed cache via Cache::Memcached::Fast
version 0.16
use CHI; my $cache = CHI->new( driver => 'Memcached::Fast', 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::Fast 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.
Jonathan Swartz
CHI, Cache::Memcached::Fast, CHI::Driver::Memcached, CHI::Driver::Memcached::libmemcached
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.
To install CHI::Driver::Memcached, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CHI::Driver::Memcached
CPAN shell
perl -MCPAN -e shell install CHI::Driver::Memcached
For more information on module installation, please visit the detailed CPAN module installation guide.