Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Akka suitable for systems with transient network coverage?

Tags:

java

scala

akka

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)?

like image 704
Tobias Furuholm Avatar asked Jun 19 '11 09:06

Tobias Furuholm


1 Answers

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.

like image 134
Tobias Furuholm Avatar answered Nov 18 '22 21:11

Tobias Furuholm