Akka 适合短暂网络覆盖的系统吗?

发布于 2024-11-15 21:44:27 字数 61 浏览 4 评论 0原文

Akka 是否适合在节点需要进出 WiFi 覆盖范围的系统中使用?必须考虑哪些方面(例如首选哪些传输协议)?

Is Akka suitable to use in a system where nodes are expected to be moving in and out of wifi coverage? What aspects have to be considered (e.g. what transport protocols are preferred)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

在你怀里撒娇 2024-11-22 21:44:27

Akka适合具有短暂网络覆盖的系统。正如 Viktor 在对该问题的评论中指出的那样,主管层次结构可用于处理未交付错误。有关更多详细信息,请参阅问题评论中的对话。

为了验证这一点,我对两台计算机进行了一些测试,并以物理方式打开和关闭了其中一台计算机的网络连接。正如预期的那样,挂起套接字没有问题,并且在连接(物理上)重新建立时传递了中断期间排队的消息。

Akka is suitable for systems with transient network coverage. Supervisor hierarchies can be used to handle the non-delivery errors as Viktor has pointed out in the comments to the question. For more details see the conversation in the comments to the question.

To verify this I have done some testing with two computers and physically switched the network connection to one of them on and off. There were no problems with hanging sockets and messages that were queued during the outage were delivered when the connection was (physically) reestablished, just as expected.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文