摘要:
server.erlJava代码-module(server).-export([start/0,start/1,process/1]).-define(defPort,8888).start()->start(?defPort).start(Port)->casegen_tcp:listen(Port,[binary,{packet,0},{active,false}])of{ok,... 阅读全文
posted @ 2010-08-16 15:53
麦飞
阅读(767)
评论(0)
推荐(0)
摘要:
http://hideto.javaeye.com/blog/232618 阅读全文
posted @ 2010-08-16 15:21
麦飞
阅读(205)
评论(0)
推荐(0)
摘要:
分布式程序指设计用于运行在网络中的可以通过消息传递相互交流彼此的活动的计算机上的程序分布式应用的好处:Performance、Reliability、Scalability、Intrinsically distributed application、Fun、1, key-value server的简单例子:Java代码-module(kvs).-export([start/0,store/2,lo... 阅读全文
posted @ 2010-08-16 14:19
麦飞
阅读(2144)
评论(0)
推荐(1)
浙公网安备 33010602011771号