简体   繁体   English

Akka是否提供对远程参与者之间网络连接的监视?

[英]Does akka provide monitoring of the network connection between remote actors?

This is a follow up question to a question I posted a while ago ( Is Akka suitable for systems with transient network coverage? ). 这是我不久前发布的一个问题的后续问题( Akka是否适合具有瞬态网络覆盖的系统? )。

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. 我想知道是否有一个可用于akka演员的监视机制(心跳或类似的东西)可用于监视两个演员之间的联系。 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. 通常情况下,其中一个参与者将监督另一个参与者,所以我想如果将其与akka的监督机制集成在一起会很好。

There is a fault tolerance mechanism for akka. 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 http://akka.io/docs/akka/1.1/scala/fault-tolerance.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM