Hi all,

I'm having a cluster system with many Master and many Slaves. I let Masters 
watch over Slaves and Slaves watch over their Master. So that when a Master 
is "terminated", corresponding slaves will re-register to a new Master and 
deny all jobs until a master is found . Or when a slave is "terminated", 
Master will get the jobs that were sent to that Slave  and send it to other 
available slaves. 


Currently i'm testing the high-availability of the cluster. When i turn off 
the JVM of Workers or Masters, Terminated messages are generated 
immediately, but if i try to turn off the network adapter and turn it on 
right about 10 or 20 seconds later to simulate network lagging, Terminated 
messages are not thrown immediately,usually a moment before MemberDown is 
thrown. And when i turn the adapter back on, things went back to normal, 
but the data that was sent when network was down is lost. i tried to catch 
DeadLetter and send them back to Master, but there is a case where 
Terminated was receive by Slave but Master never caught any. So my HA flow 
was ruined.( this is because as i said above, Slave will deny all messages 
until a Master is found, to prevent the slave from trying to send the 
message back to a dead actor forever, and Master never detected any 
Terminated messages, so the jobs that were deny by Slave were never 
recovered)

So there are two things i'm concerned about:
-is there a config so that when an unreachable message is thrown, the actor 
that is watch will be considered Terminated?
-And the case where Master watch over slave and slave watches over Master 
but only 1 of them received Terminated message for the other?

Thank you very much for your help,
Best Regards
Bourne.



-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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/d/optout.

Reply via email to