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)?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With