how goes the new perl client?

Harmen harm at tty.nl
Sat Apr 1 07:38:18 UTC 2006


On Fri, Mar 31, 2006 at 04:54:26PM -0800, Cahill, Earl wrote:
> I was just doing some memcached benchmarks on a couple newish boxes, and
> I was noticing that gets were kind of "slow," and I just started
> thinking about the perl client, and wondered how it was coming.  So, how
> is it coming?  I checked cpan and it wasn't there, but I do look forward
> to it being there.
> 

We've written 2 alternative perl clients:
http://dev.tty.nl/memcached/Cache-Memcached-2.0-rc2.tar.gz
is a dropin replacement for the Danga 1.0 series. It works the same and is
100% perl, but the code is cleaner. get()s are twice as fast if I recall
correctly. Other commands are comparable or a little slower, but we haven't
really optimised those.

http://dev.tty.nl/memcached/Cache-MemcacheC-1.1.tar.gz
Thisone is completly in C and get()s are, what, 10 times as fast? The
API is a subset of the normal client, but normal get/get_multi/sets are
supported.


Harmen

-- 
                               The Moon is Waxing Crescent (11% of Full)


More information about the memcached mailing list