CHI::Driver::TokyoTyrant -- Distributed cache via Tokyo Tyrant - a network interface to the DBM Tokyo Cabinet.
my $cache = CHI->new(
driver => 'TokyoTyrant',
namespace => 'products',
hostname => 'localhost',
port => 1978,
A CHI driver that uses Tokyo Tyrant as a storage backend. As Tokyo Tyrant Tokyo Tyrant also supports Memcached protocol so other option is to use it with Memcached driver. This driver is much faster though.
Namespaces are handled by prepending namespace to the key. Hostname defaults to localhost and port to 1978.
Besides the standard CHI methods:
Returns a handle to the underlying TokyoTyrant::RDB object. You can use this to call specific methods that are not supported by the general API.
CHI CHI::Driver::Memcached::Fast, CHI::Driver::Memcached
Documentation, API libraries for Tokyo Tyrant and Tokyo Cabinet can be found at: http://1978th.net
Copyright (C) 2010 Jiří Pavlovský.
CHI::Driver::TokyoTyrant 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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Jiří'. Assuming UTF-8
To install CHI::Driver::TokyoTyrant, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.