C / C++
libmemcached
- by , Commercial Support available from
- BSD license, it has been in production at websites for years. Aggressively optimised, ability to run async, supports binary protocol, triggers, replica, etc.
libmemcache
- by Sean Chittenden
- BSD license. It is no longer under active development (last updated in 2006). You should try libmemcached instead.
apr_memcache
- by Paul Querna
- Apache Software License version 2.0 (doesn't appear to be actively maintained since 2005)
memcacheclient
- (cross-platform, but primary focus on Windows (last updated in 2008).
libketama
- (the original consistent hashing algorithm from last.fm)
PHP
PECL/memcached
- (wraps libmemcached)
- pear install pecl/memcached
- Announcement:
PECL/memcache
PHP libmemcached
- (wraps libmemcached)
Java
spymemcached
-
- 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
-
- A Java API is maintained by Greg Whalin from Meetup.com.
More Java memcached clients
Integrations
Python
pylibmc - a libmemcached wrapper
python-memcached
pooling wrapper class
- for use in multi-threaded applications
Python libmemcached
- (libmemcached wrapper)
Python-Binary-Memcached - binprot pure-python client
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
- (pure Ruby)
Ruby-MemCache
- (pure Ruby)
fauna
- (compiled, wraps libmemcached)
caffeine
- (compiled, wraps libmemcached, no license)
More info:
Perl
Cache::Memcached
Cache::Memcached::Fast
Perl libmemcached wrapper
- (libmemcached wrapper)
Cache::Memcached-compatible perl libmemcached wrapper wrapper (heh)
Windows / .NET
.Net memcached client
.Net 2.0 memcached client
- Client developed in .NET 2.0 keeping performance and extensibility in mind. (Supports consistent hashing.)
BeIT Memcached Client (optimized C# 2.0)
jehiah
MySQL
MySQL user data functions for memcached
MySQL Engine
- no longer developed
PostgreSQL
pgmemcache
- The pgmemcache project allows you to access memcache servers from Postgresql Stored Procedures and Triggers.
Erlang
erlmc
merle
erlangmc
higepon's memcached client
Zhou Li's memcached client
Lua
Lisp dialects
ColdFusion
OCaml
Io
- libmemcached based
CLI
libmemcached
- by , Commercial Support available from
- BSD licensed, contains a full set of CLI tools.
Protocol
To write a new client, check out the and . 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
- fastest client implementations (2006), obsoleted as more languages wrap the C-based libmemcached client library.