Home > Erlang探索 > ProcessOne releases OneCached 很好的学习Erlang的材料

ProcessOne releases OneCached 很好的学习Erlang的材料

July 27th, 2010

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: ProcessOne releases OneCached 很好的学习Erlang的材料

July 05, 2010
ProcessOne has just released OneCached, a Memcached server and client implementation written in Erlang.
OneCached is released under the Erlang Public License (EPL),.

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

这个项目是非常简单的一个memcached的模仿, 亮点在于底层用ets, dest, mnesia这样的erlang特有的存储。这个项目的意义在于演示了如何编写一个严肃的Erlang工程,以及需要掌握的技能。对于初学者来讲,这是很好的一个切入点。 你可以在上面修修改改, 打造出你自己的版本。

玩的开心!

Post Footer automatically generated by wp-posturl plugin for wordpress.

  1. July 29th, 2010 at 18:06 | #1

    搞的很简单 是个很好的培训教材!!!

  2. SamPeng
    August 3rd, 2010 at 19:37 | #2

    谢谢老大的分享。。最近正在入门erlang。。。
    正好需要这样的源代码。。
    打算把所有的基本语法搞完了。看两个经典的Erlang的开源项目代码。
    就看这个了。。
    然后再看一个RabbitMQ。
    应该稍微够用了。。

Comments are closed.