The last couple days I have been putting together a memcached client for Erlang called merle
. At the moment it supports the gambit of memcached commands (minus the noreply
option). While it is very much a work in progress and under heavy development it is fairly usable. The latest code is available on github
. Here's an example of its usage:
[user@host ebin]$ erl
Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.6.5 (abort with ^G)
1> merle:start_link("localhost", 11211).
2> merle:memcache_set("123", "1", "0", "this is some data").
<<"VALUE 123 1 17\r\nthis is some data\r\nEND\r\n">>
Ladies and gentlemen, Mr. Merle Haggard.