设为首页 收藏本站
查看: 866|回复: 0

[软件发布] Akka 2.4 RC1 发布,Actor 开发模型库

[复制链接]

尚未签到

发表于 2015-8-30 14:23:17 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886   DSC0000.jpg
DSC0001.png   Akka 2.4 RC1 发布,相比最后一个 M 版本,主要改进如下:
  

  •   Persistence Query types for LevelDB
  •   protobuf serialization for Cluster Sharding, Cluster Client and Cluster Singleton
  •   possibility to use Distributed Data module as storage for the state of the sharding coordinator instead of using Akka Persistence, contribution by Evgeniy Ostapenko
  •   improvements of the ReceivePipeline, contribution by jeremystone
  Akka 2.4.0 主要改进如下:

  •   we dropped support for Java 6 & 7 as announced in the last roadmap update, and now require Java 8 or later
  •   we dropped support for Scala 2.10, kept 2.11 and added 2.12 (whichis at milestone 2 currently); this is in keeping with our policy to support the Scala version that is “current” when the first milestone comes out plus any later version that is published during this series’ lifetime
  •   Akka Persistence was promoted to a fully supported module (not experimental)
  •   added experimental stream based API for the Query Sideof Akka Persistence (implementations must be provided by query plugins corresponding to the journal plugins for the various data stores)
  •   improved support for Akka Persistence event migrations by Serializer with String Manifest and Event Adapters and prepared comprehensive documentation of strategies for schema evolution of persistent events
  •   made Akka Persistence failure handling more robust and support rejections of events
  •   Akka Persistence can now use multiple different Journals within one ActorSystem (thanks to Andrei Pozolotin, who also split out ClusterMetrics into their own module)
  •   introduced Persistent FSM, thanks to an awesome contribution from leonidb
  •   simplified setting up Akka Clusters behind NAT (including inside Docker containers)
  •   we added the experimental Akka Typed module previously codenamed Project Gålbma, a new way of formulating Actor interactions with full type-system support
  •   we promoted the ClusterSingleton, ClusterClient, DistributedPubSub and ClusterSharding patterns to fully a supported Cluster Tools module, including various API and configuration improvements
  •   ClusterSharding also learnt a few new tricks (graceful shutdown, asynchronous shard allocation, reviving entries after migration thanks to Dominic Black, and more flexible use of roles [thanks to Richard Marscher)
  •   use custom failure detection in ClusterClient to avoid quarantining in case of transient network failures
  •   added experimental Akka Distributed Data which was previously known as Akka Data Replication (see akka-data-replication migration guide), the Distributed Data module is useful for sharing eventually consistent data (CRDTs) between nodes in an Akka Cluster
  •   the SLF4J logging adapter can now apply the log filtering rules prior to sending to the EventStream, see the migration guidebut the biggest feature is probably that Akka 2.4 will be binary backwards compatible with Akka 2.3, see the detailed description below.
  下载:https://github.com/akka/akka/archive/v2.4.0-RC1.zip。
  Akka 是一个用 Scala 编写的库,用于简化编写容错的、高可伸缩性的 Java 和 Scala 的 Actor 模型应用。
  Actor模型并非什么新鲜事物,它由Carl Hewitt于上世纪70年代早期提出,目的是为了解决分布式编程中一系列的编程问题。其特点如下:

  •   系统中的所有事物都可以扮演一个Actor
  •   Actor之间完全独立
  •   在收到消息时Actor所采取的所有动作都是并行的,在一个方法中的动作没有明确的顺序
  •   Actor由标识和当前行为描述
  •   Actor可能被分成原始(primitive)和非原始(non primitive)类别
  •   非原始Actor有

    •   由一个邮件地址表示的标识
    •   当前行为由一组知识(acquaintances)(实例变量或本地状态)和定义Actor在收到消息时将采取的动作组成

  •   消息传递是非阻塞和异步的,其机制是邮件队列(mail-queue)
  •   所有消息发送都是并行的

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-106423-1-1.html 上篇帖子: PyCharm 4.5.4 RC 发布,Python 集成开发环境 下篇帖子: Tessera 0.8.1 发布,Graphite 前端界面
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表