App::derived::Plugin::Memcached - memcached-protocol server for derived
$ derived -MMemcahced,port=12306 CmdsFile
This plugin has a memcached-protocol server. You can get some status from any memcached client.
Port number to bind
Host name or Address to bind
Timeout seconds to read request. default 10.
You can access to data by any memcached client.
use Cache::Memcached::Fast; my $memcached = Cache::Memcached::Fast->new({ servers => [qw/localhost:12306/], }); say $memcached->get('slowqueris'); # only per seconds value. say $memcached->get('slowqueris:latest'); # only latest value. say $memcached->get('slowqueris:full'); #JSON formated data include raw values
<drived>, <App::derived::Plugin> for writing plugins
Masahiro Nagano <kazeburo@gmail.com>
Copyright (C) Masahiro Nagano
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::derived, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::derived
CPAN shell
perl -MCPAN -e shell install App::derived
For more information on module installation, please visit the detailed CPAN module installation guide.