NAME

CHI::Driver::TokyoTyrant -- Distributed cache via Tokyo Tyrant - a network interface to the DBM Tokyo Cabinet.

SYNOPSIS

    use CHI;

    my $cache = CHI->new(
        driver => 'TokyoTyrant',
        namespace => 'products',
        hostname  => 'localhost',
        port      => 1978,
    );

DESCRIPTION

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.

CONSTRUCTOR OPTIONS

Namespaces are handled by prepending namespace to the key. Hostname defaults to localhost and port to 1978.

METHODS

Besides the standard CHI methods:

rdb

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.

AUTHOR

Jiří Pavlovský

SEE ALSO

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 & LICENSE

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:

Around line 207:

Non-ASCII character seen before =encoding in 'Jiří'. Assuming UTF-8