Hi John,

On Tue, May 12, 2015 at 6:02 PM, <[email protected]> wrote:

> I am trying to understand the  "stats2.conf" example in the
> akka-sample-cluster-java Activator module;
> Why do I need the singleton  (ClusterSingletonManager) here?
>
> Souldn't it be enough to just use StatsService Actor without the Singleton
> pattern on its own cluster node?
>
> There would be only one StatsService Actor and its router would ensure
> that the payload-messages gets send to all the available Workers on all
> cluster nodes.
>

How would you make sure that there is only one StatsService actor in a
cluster if, for example, a node where this actor is deployed goes down?
Cluster Singleton solves this particular problem.


>
> Many Greetings
> John
>
>  --
> >>>>>>>>>> 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.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> – Reactive
<http://www.reactivemanifesto.org/> Apps on the JVM

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