gpt4 book ai didi

scala - Scala Actor 和环境引用

转载 作者:行者123 更新时间:2023-12-03 07:52:11 24 4
gpt4 key购买 nike

Phillip Haller's PhD thesis中,他在(5.1 future 工作)部分中提到,研究的有趣 Realm 之一是使用环境引用来扩展框架,并引用了Van Cutsen的论文。

摘抄:

The Scala Actors library includes a runtime system that provides basic support for remote (i.e., inter-VM) actor communication. To provide support for fault tolerancy (for instance, in mobile ad-hoc networks), it would be interesting to extend the framework with remote actor references that support volatile connections, similar to ambient references [36]. Integrating transactional abstractions for fault-tolerant distributed programming (e.g., [52, 142]) into Scala Actors is another interesting area for future work.



引文为:

[36] Tom Van Cutsem, Jessie Dedecker, Stijn Mostinckx, Elisa Gonzalez Boix, Theo D’Hondt, and Wolfgang De Meuter. Ambient references: addressing objects in mobile networks. [...] pages 986–997. ACM, October 2006.



这是阿卡(Akka)做的吗?如果没有,您认为鉴于Akka的存在,对这一 Realm 进行研究仍然有意义吗?

最佳答案

是的,Akka可以做到这一点。

据我所知,有两种方法可以实现此目的:

  • akka-remote-提供远程actor ref,但是您需要确定每个actor应该存在的位置。
  • akka-cluster-提供集群分片。自动管理角色的物理位置,并确保给定的碎片(角色)出现在群集中最多一个节点的上。
  • 关于scala - Scala Actor 和环境引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15484498/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com