JActor 1.0發布 Actor模式的Java實現
JActor 是一個 Java 的 Actor 模式的實現,經過測試在 i5 CPU 上可支持每秒鐘發送 8500萬條消息,可能是目前最快的。這相當于是 Scala 的 Actor 的純 Java 版本。
JActor 1.0 發布了,主要改進:
1. Two-way messages make sending a request the same as a method call with a callback.
2. Most messages are now processed synchronously, providing a big speed boost.
3. A state machine builder also helps keep the code clean and simple
JActor 是一個 Java 的 Actor 模式的實現,經過測試在 i5 CPU 上可支持每秒鐘發送 8500萬條消息,可能是目前最快的。這相當于是 Scala 的 Actor 的純 Java 版本。
下載地址:https://github.com/laforge49/JActor
原文鏈接:http://www.oschina.net/news/24523/jactor-1-0-released
【編輯推薦】