Archive

Posts Tagged ‘memcached’

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

July 27th, 2010 2 comments

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

本文链接地址: 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.