My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Clients  
Client API's / libraries
Updated Aug 22, 2011

C / C++

libmemcached

libmemcache

apr_memcache

memcacheclient

libketama

PHP

Comparison of PECL/memcache and PECL/memcached

PECL/memcached

PECL/memcache

PHP libmemcached

Java

spymemcached

  • http://www.couchbase.org/code/couchbase/java
    • An improved Java API maintained by Matt Ingenthron and others at Couchbase.
    • Aggressively optimised, ability to run async, supports binary protocol, support Membase and Couchbase features, etc. See site for details.

Java memcached client

More Java memcached clients

Integrations

Python

pylibmc - a libmemcached wrapper

python-memcached

pooling wrapper class

Python libmemcached

cmemcache (Note: this library is deprecated, old, buggy, you should not use it).

Django's caching framework works with memcached

Twisted python client

Ruby

cache_fu Rails plugin works with memcached

memcache-client

Ruby-MemCache

fauna

caffeine

More info:

Perl

Cache::Memcached

Cache::Memcached::Fast

Perl libmemcached wrapper

Cache::Memcached-compatible perl libmemcached wrapper wrapper (heh)

Windows / .NET

.Net memcached client

.Net 2.0 memcached client

BeIT Memcached Client (optimized C# 2.0)

jehiah

MySQL

MySQL user data functions for memcached

MySQL Engine

  • no longer developed

PostgreSQL

pgmemcache

Erlang

erlmc

merle

erlangmc

higepon's memcached client

Zhou Li's memcached client

https://github.com/EchoTeam/mcd

Lua

http://luamemcached.luaforge.net

Lisp dialects

http://common-lisp.net/project/cl-memcached

http://chicken.wiki.br/memcached

http://weblambda.blogspot.com/2009/09/develop-memcached-client-4-bzlibdbd.html

ColdFusion

http://memcached.riaforge.org

OCaml

Io

http://github.com/iamaleksey/memcached-client-io/tree/master - libmemcached based

CLI

libmemcached

Protocol

To write a new client, check out the binary protocol docs and ascii 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 for help and/or a link to your client from this site.

Archive / Old

Danga Interactive list of clients http://www.danga.com/memcached/apis.bml

http://dealnews.com/developers/memcached.html - fastest client implementations (2006), obsoleted as more languages wrap the C-based libmemcached client library.

Comment by mile...@gmail.com, Jan 15, 2009
Comment by bovineone, Feb 6, 2009

For Tcl, the NaviServer? project offers a Tcl extension called "nsmemcache" that is written in C: http://naviserver.cvs.sourceforge.net/naviserver/modules/nsmemcache/

Comment by aleksey....@gmail.com, Feb 6, 2009

Io client library, libmemcached based: http://github.com/iamaleksey/memcached-client-io/tree/master

Comment by bovineone, Feb 14, 2009

Another Tcl extension, but based on libmemcached: http://jeff.bovine.net/Memcached_for_Tcl

Comment by davi....@gmail.com, Mar 19, 2009
Comment by michael7...@gmail.com, Apr 15, 2009

shouldn't the PHP PECL/memcache section call it the "php memcache docs" instead of "php memcached docs" ?

Comment by killme2...@gmail.com, Apr 28, 2009

http://code.google.com/p/xmemcached/downloads/list

xmemcached,Another java memcached client。

Comment by williams...@gmail.com, Jun 3, 2009
Comment by nelz9999@gmail.com, Jun 25, 2009

I wrote http://code.google.com/p/simple-spring-memcached/ as a layer on top of the Spy Memcached Client to ease integration with Spring.

Comment by carlos.abalde, Jul 12, 2009

Another Erlang/OTP libmemcached-based client: http://code.google.com/p/erlangmc/

Comment by henryho...@gmail.com, Sep 15, 2009

"Cold Fusion" should be ColdFusion?. Please... :)

Comment by yinso.c...@gmail.com, Sep 24, 2009

A native PLT Scheme client is now available - see http://weblambda.blogspot.com/2009/09/develop-memcached-client-4-bzlibdbd.html

Comment by rsand...@gmail.com, Sep 25, 2009

I'm writing a Z-Shell (ZSH) interface as part of a ZSH framework called "dotto". Most operations work. Like git, there's plumbing and porcelain; the plumbing's mostly done except for multiple servers. The porcelain is in progress. Also, not much in the way of docs yet.

You can get it here:

http://github.com/rsanders/dotto
Comment by hallvard...@gmail.com, Oct 4, 2009

Starting on a rebol client: http://babelserver.org/rebol/memcached/

All comments are welcome.

Comment by omnifari...@gmail.com, Oct 18, 2009

python-memcached has a broken link. The working link is: http://www.tummy.com/Community/software/python-memcached/

Comment by manifest...@gmail.com, Dec 4, 2009

Good PHP Memcached Class: http://code.google.com/p/memcachemanager/

Supports key tagging and has great documentation. Class also generates memory usages reports, which have come in very handy.

This page has been particularly helpful as it covers in plain English what all the memcached variables mean, and what they do.

http://code.google.com/p/memcachemanager/wiki/Definitions

Comment by nord...@gmail.com, Jan 11, 2010

pylibmc is the best python memcached library: http://pypi.python.org/pypi/pylibmc

Comment by nicolas....@gmail.com, Feb 24, 2010

In Erlang, there is also: http://github.com/jacknyfe/mcd

Comment by atte.k...@gmail.com, Mar 27, 2010
Comment by apsheron...@gmail.com, May 29, 2010

Yet another OCaml library: http://komar.bitcheese.net/src/memcache-ocaml/ :)

Comment by peter....@solide-ict.nl, Aug 13, 2010

Please update the Chicken link to point at http://wiki.call-cc.org/eggref/3/memcached - it hasn't been ported to Chicken 4 yet.

Comment by spec8...@gmail.com, Sep 7, 2010

Hi, The Enyim Memcache client for .NET is now here: http://memcached.enyim.com/

Comment by bjornsm...@gmail.com, Sep 26, 2010

Another memcached client is available here:

http://asyncmemcached.codeplex.com

As the name kind of hints its fully asynchronous.

Comment by abraka...@gmail.com, Nov 10, 2010

The C/C++ libmemcached link is broken for me, try http://libmemcached.org/libMemcached.html.

Comment by huangxia...@gmail.com, Dec 13, 2010

I can't access the libmemcached link either, and I think it's obsolete.

Comment by nathan.l...@gmail.com, Dec 24, 2010

The MySQL links appear to be broken as well. Otherwise this is a great resource

Comment by mper...@gmail.com, Aug 23, 2011

The Ruby clients are far out of date. As of 2011, there are two mainstream supported clients:

Comment by paga...@gmail.com, Sep 8, 2011

NMemcached.Client is available at http://nmemcached.codeplex.com/. It has both text and binary protocol support, TCP connections for both protocols, UDP connections for the binary protocol, synchronous and asynchronous client classes, and dead server detection.

Powered by Google Project Hosting