Actor 模式的Java實現 JActor 1.0 發布
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
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!