Akka 2.4 RC2 发布,此版本值得关注的特性如下: make it possible to use any version of Protobuf for serialization of application messages, the internal dependency to Protobuf has been replaced by embedding a shaded (renamed package) version, if you use Protobuf in your application you need to add the dependency to your build, see migration guide new experimental feature that makes it possible to promote new members to WeaklyUp during network partitions, thanks to Hector Veiga for contributing fixed a few bugs in Persistence and move Tagged to akka.persistence.journal some improvements of Cluster Sharding improve thread usage when starting Cluster extension 完整列表请看 2.4.0-RC2 github issues milestone。 下载:https://github.com/akka/akka/archive/v2.4.0-RC2.zip。 Akka 是一个用 Scala 编写的库,用于简化编写容错的、高可伸缩性的 Java 和 Scala 的 Actor 模型应用。 Actor模型并非什么新鲜事物,它由Carl Hewitt于上世纪70年代早期提出,目的是为了解决分布式编程中一系列的编程问题。其特点如下: 系统中的所有事物都可以扮演一个Actor Actor之间完全独立 在收到消息时Actor所采取的所有动作都是并行的,在一个方法中的动作没有明确的顺序 Actor由标识和当前行为描述 Actor可能被分成原始(primitive)和非原始(non primitive)类别 非原始Actor有 由一个邮件地址表示的标识 当前行为由一组知识(acquaintances)(实例变量或本地状态)和定义Actor在收到消息时将采取的动作组成 消息传递是非阻塞和异步的,其机制是邮件队列(mail-queue) 所有消息发送都是并行的 Akka 2.4 RC2 发布,Actor 开发模型库下载地址