Introducing merle : an Erlang memcached client.

Joe Williams - - January 11, 2009

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).
{ok,<0.35.0>}
2> merle:memcache_set(”123″, “1″, “0″, “this is some data”).
<<”STORED\r\n”>>
ok
3> merle:memcache_get(”123″).
<<”VALUE 123 1 17\r\nthis is some data\r\nEND\r\n”>>
ok

Ladies and gentlemen, Mr. Merle Haggard.

Click here to view the embedded video.



Categories: Blogs  Joe Williams  

Comments

anonymous avatar

This commodity gives the ablaze in which we can beam the reality. this is actual nice one and gives in abyss information. Acknowledgment for this nice article.
montreal erotic massage

Posted by Albern on 25 May 2010 at 19:20



 
anonymous avatar

very excited to tell you that we are now stocked with the popular Jag Jeans line!  Great quality, great price point, and great fit!  Yay.gout treatment

Posted by robin on 30 Aug 2011 at 17:51



 


Add comment

Name:

Email:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?