Actor 模式的Java实现 JActor 1.0 发布
fmms 13年前
<p><a href="/misc/goto?guid=4958319260500102480" target="_blank">JActor </a>是一个 Java 的 Actor 模式的实现,经过测试在 i5 CPU 上可支持每秒钟发送 8500万条消息,可能是目前最快的。这相当于是 Scala 的 Actor 的纯 Java 版本。</p> <p><a href="/misc/goto?guid=4958319260500102480" target="_blank">JActor </a>1.0 发布了,主要改进:</p> <p>1. Two-way messages make sending a request the same as a method call with a callback. <br /> 2. Most messages are now processed synchronously, providing a big speed boost. <br /> 3. A state machine<span class="truncate_more"> builder also helps keep the code clean and simple</span></p>