[MTOS-dev] Cache::Memcached::Fast support [r1117]
Hirotaka Ogawa
hirotaka.ogawa at gmail.com
Sun Dec 16 08:20:34 PST 2007
Hi,
This is my first contribution to MTOS.
BRIEF SUMMARY:
The attached file is a patch to MTOS [r1117], which allows you to use
Cache::Memcached::Fast, as well as Cache::Memcached.
RATIONALE:
Cache::Memcahced::Fast
(http://search.cpan.org/~kroki/Cache-Memcached-Fast-0.02/) is an
alternative Perl client API for memcached. Its module core is
implemented in C and tries hard to minimize number of system calls and
to avoid any key/value copying for speed. So I believe that
C::M::Fast is beneficial to implement faster memory caching to MTOS.
TECHNICAL OVERVIEW:
First, this patch includes D::OD::Driver::Cache::Memcached::Fast
class, an alternative class of D::OD::Driver::Cache::Memcached, which
facilitates C::M::Fast instead of C::M. And, this patch provides
several modifications to MT::Memcached and MT::ObjectDriverFactory,
which are to use C::M::Fast if it is available and to use C::M if not
available.
This patch is not well-tested.
--
Hirotaka Ogawa makes no sense.
http://as-is.net/blog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mtos-r1117-cache-memcached-fast.patch
Type: text/x-patch
Size: 6657 bytes
Desc: not available
Url : http://www.sixapart.com/pipermail/mtos-dev/attachments/20071217/f0e7e659/attachment.bin
More information about the MTOS-dev
mailing list