Six Apart Developer Wiki

The Movable Type and Professional Network Wiki has been moved to wiki.movabletype.org.

Recent Changes

memcachedClientAPIs

[Login] Change #2 by OpenID IdentityAnil Dash at 2006-08-22 21:43:18.

The following content has unclosed HTML tags: A (1 open), A (-1 open), H2 (1 open)

memcached

memcached Client APIs

Perl API

An object-oriented Perl module can be found on CPAN as Cache::Memcached or downloaded here.

The API takes advantage of the server's opaque flag support and sets its "complex" flag whenever the object being stored or retrieved isn't a plain scalar. In that case, the Storable module is used to freeze and thaw the value automatically going in and out of the memcached.

PHP API

There are tons of PHP libraries available, in different conditions. The community hasn't yet decided which is the best. When they do, let me know. For now I'll let you search Google rather than link any.

Python API

The Python client we'd previously released was just a prototype, and we don't have regular Python programmers on hand. The folks at Tummy.com have took over maintenance. See ftp://ftp.tummy.com/pub/python-memcached/ for the latest versions.

Ruby API

A Ruby API is available from Michael Granger at:

Java API

A Java API is maintained by Greg Whalin from Meetup.com. You can find that library here:

C# API

A C# API is available at:

C API

Multiple C libraries for memcached exist:

Protocol To write a new client, check out the

href="http://cvs.danga.com/browse.cgi/wcmtools/memcached/doc/protocol.txt?rev=HEAD&content-type=text/plain">protocol docs. Be aware that the most important part of the client is the hashing across multiple servers, based on the key, or an optional caller-provided hashing value. Feel free to join the mailing list (or mail me directly) for help, inclusion in CVS, and/or a link to your client from this site.

[Login] Change #2 by OpenID IdentityAnil Dash at 2006-08-22 21:43:18.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.