开发者

Is Akka suitable for systems with transient network coverage?

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 trans开发者_如何学Cport protocols are preferred)?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜