ProcessOne releases OneCached, a Memcached in erlang
Posted by Nicolas Vérité on July 05, 2010ProcessOne 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
Awesome! Tell me that this benefits from Erlang’s ability to do clusters?
Posted by Julien on 05 Jul 2010 at 18:07onecached 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:51excellent news.
It would be great to have some benchmarks for onecached vs memcached.
Posted by Neville Burnell on 08 Jul 2010 at 02:34@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@Jon You can configure Mnesia to use RAM only tables.
Posted by Mickaël Rémond on 09 Jul 2010 at 08:16I’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

Stay Informed
Subscribe to our RSS feed or follow us on Twitter to receive alerts when we post new news stories and blogs.
Subscribe to ProcessOne RSS feed
Follow ProcessOne on Twitter
Follow Mickaël on Twitter
Search our blogs
To make it easier for you to find blogs on topics that you are interested in, we have grouped them into categories depending on the different themes addressed in each blog. Categories include:
ProcessOne
Jabber / XMPP
ejabberd
HostedIM
Erlang
CEAN
Information Technology
Misc
Tsung
French
Mozilla
Employment opportunities
IMtrends
All categories
Become a ProcessOne partner
Find out about the benefits of joining ProcessOne’s partnership programme.
Click here
Our products and services
We offer packaged solutions comprising all of the server-side and client-side technology necessary to create valuable new instant messaging applications. In addition, we offer a range of services for delivering customised solutions.
Click here for full details