发布于 2017-01-26 23:48:23 | 152 次阅读 | 评论: 0 | 来源: 网友投递
Akka Actor模型开发库
Akka 是一个用 Scala 编写的库,用于简化编写容错的、高可伸缩性的 Java 和 Scala 的 Actor 模型应用。
Akka v2.5-M1 发布了,更新内容较多,下面是一些本次更新的主要新特性:
The Java API for AbstractActor
was promoted to fully stable API. While doing this we did some small, but important, improvements to the API that will require some mechanical changes of your source code.
Distributed Data was promoted to a fully stable module. Several improvements were also included, such as:
Support for delta-CRDTs in Distributed Data to reduce the amount of data that is replicated.
Generic type for the key in Distributed Data ORMap
, thanks to jgordijn
Coordinated shutdown to facilitate ordered stopping of actors and services and perform registered tasks during the shutdown process. This greatly simplifies tasks involved in graceful leaving of Akka Cluster.
Support remembering entities in Cluster Sharding with the ddata
mode. Distributed Data is now also the default mode for Cluster Sharding.
We added @ApiMayChange
and other annotations which can be used to mark experimental API inside stable modules, mostly for use in Akka HTTP.
源码下载