Hi everyone,

I just became aware of how Akka can establish a quarantine between remote 
actor systems, requiring a restart of one of the actor systems.  I know 
this has already been discussed in several threads in this forum, as I've 
been searching and reading anything relevant to get an understanding of the 
issues.  

I apologize for beating a dead horse, but something feels very wrong to me 
about this approach.  It seems very heavy-handed to have a commonly 
occurring condition where an entire actor system must be restarted.  And it 
seems contrary to Akka's otherwise fine-grained error handling and recovery 
support which allows for individual actors to fail and be restarted.  

Is quarantining the only reasonable approach?  I understand that after a 
remote actor system is declared unreachable and Terminated messages are 
dispatched for remotely watched actors, that we don't want to receive any 
more messages from the actors which have been declared Terminated.  

As an alternative idea, what if you included an identifier for the current 
remote association as part of a remote actor's identifier?  In this case, 
when a new remote association is established, all actors on the remote side 
are considered distinct from any actors the local side may have 
communicated with in the past.  This guarantees we don't violate the "no 
messages after Terminated" rule, and allows the distributed system to 
continue operating without a restart.  Individual actors can look up and 
re-establish communication with their remote peers, achieving fine-grained 
fault tolerance.

Best regards,
Jim

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to