Hi, 

When subscribing to cluster events, for example: 
cluster.subscribe(self, initialStateMode = InitialStateAsEvents,classOf[
ClusterDomainEvent])

What are the message delivery guarantees? My understanding is that it is 
at-most-once, and messages can get lost if the JVM is acting up. In that 
case, wouldn't it be more reliable to schedule a periodic update of the 
cluster state using cluster.sendCurrentClusterState(self)? 

I have looked at some example code (AutoDown 
<https://github.com/akka/akka/blob/1e4e7cbba27726486bdf1e783b4cec710093fd04/akka-cluster/src/main/scala/akka/cluster/AutoDown.scala>,
 
Cluster Singelton Manager 
<https://github.com/akka/akka/blob/6a464c474a2741beff54728d38fc18db5e64500f/akka-cluster-tools/src/main/scala/akka/cluster/singleton/ClusterSingletonManager.scala>),
 
and it seems like it assumes that all events will be delivered. 

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to