ProcessOne releases OneCached, a Memcached in erlang

Posted by Nicolas Vérité on July 05, 2010

ProcessOne has just released OneCached, a Memcached server and client implementation written in Erlang.

OneCached is a new Memcached server and client implementation written from scratch in Erlang by ProcessOne.

From the Memcached website:

What is Memcached?

Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.

OneCached supports the set, add, replace, get, incr, decr, delete, flush_all and quit commands. It doesn't handle expiration time.

You call pull the source code from the public repository at: https://git.process-one.net/onecached

git clone git://git.process-one.net/onecached/mainline.git

To compile, just run make, and to start, just type:

bin/onecachedctl start

OneCached is released under the Erlang Public License (EPL), version 1.1. It is available from ProcessOne Labs.



Categories: ProcessOne  Erlang  Information Technology  
Share article:   Tweet this   Make delicious   Stumble upon  

Comments

anonymous avatar

Awesome! Tell me that this benefits from Erlang’s ability to do clusters?

Posted by Julien on 05 Jul 2010 at 18:07



 
anonymous avatar

onecached crushed on start. erl_crush.dump here http://dl.dropbox.com/u/262343/erl_crash.dump

ubuntu karmic 64 bit

Posted by hostmaster on 05 Jul 2010 at 19:51



 
anonymous avatar

excellent news.

It would be great to have some benchmarks for onecached vs memcached.

Posted by Neville Burnell on 08 Jul 2010 at 02:34



 
anonymous avatar

@Neville: Wouldn’t be a fair comparison right now as the current implementation of OneCached uses a disk storage(using mensia) while memcached is RAM only.

So first order of business would be to write a RAM storage for OneCached. I’ll take a look at that soonish if no-one else does.

Posted by Jón Grétar on 08 Jul 2010 at 18:28



 
Mickaël Rémond's avatar

@Jon You can configure Mnesia to use RAM only tables.

Posted by Mickaël Rémond on 09 Jul 2010 at 08:16



 
anonymous avatar

I’ve just made a quick unscientific benchmark: onecached seems to be something like 10x slower than memcached (even with RAM only tables for mnesia).

Posted by Bruno Michel on 11 Jul 2010 at 22:23



 


Add comment

Name:

Email:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?