akka 是否提供对远程参与者之间网络连接的监控?
这是我不久前发布的问题的后续问题(Akka 适合具有短暂网络覆盖的系统吗?) 。
我想知道 akka actor 是否有一个监视机制(心跳或等效的东西)可用于监视两个 actor 之间的连接。通常,其中一个参与者会监督另一个参与者,所以我想如果将其与 akka 的监督机制集成,那就太好了。
This is a follow up question to a question I posted a while ago (Is Akka suitable for systems with transient network coverage?).
I'm wondering if there is a monitoring mechanism (a heart beat or something equivalent) available for akka actors that can be used to monitor the connection between two actors. Typically one of the actors will be supervising the other, so I guess it would be nice if this was integrated with the supervising mechanism of akka.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
akka有容错机制。您可以根据您的需要实施它。
我认为这更像是应用程序层,因此它不像其他解决方案那么快。
http://akka.io/docs/akka/1.1/scala/fault -tolerance.html
There is a fault tolerance mechanism for akka. You could implement it to your needs.
I think that is more like application layer so it's not so fast as other solutions.
http://akka.io/docs/akka/1.1/scala/fault-tolerance.html