Hi Heiko, 

I am reading up on cluster-aware pool router versus group router.  I am 
understand group router, but not so much with pool router. 

Say if I have a seed node that has a cluster aware pool router.  When I 
create a new node with no actors in it, the pool router will automatically 
deploy routtees there.  

Here's the questions I have:

1) Then shouldn't I just build a monolithic application on a single node 
and use cluster aware pool routers to scale horizontally but starting up 
empty nodes? 

2) If each node has a specific role (e.g. back-end, front-end,etc), I don't 
understand why one would deploy routtees in other nodes with different or 
same roles.  Can you give an example?  And what would they advantage be 
over group routers?

Regards, 
Lap 

On Sunday, September 27, 2015 at 4:46:41 PM UTC+8, Heiko Seeberger wrote:
>
> The akka cluster is essentially a membership service for actor systems, 
> not for actors. From the Cluster Specification 
> <http://doc.akka.io/docs/akka/2.3.14/common/cluster.html>  „A node could 
> be a member of a cluster without hosting any actors.“
>
> Actors can benefit from Akka Cluster via subscribing to cluster events. 
> For example an actor could create child actors on every member node that 
> joins the cluster, which is more or less what a cluster-aware pool router 
> does.
>
> Cheers
> Heiko
>
> --
>
> *Heiko Seeberger*
> Home: heikoseeberger.de
> Twitter: @hseeberger <https://twitter.com/hseeberger>
> Public key: keybase.io/hseeberger
>
> On 27 Sep 2015, at 09:10, lapming.lee <[email protected] <javascript:>> 
> wrote:
>
> If I have an actor system with one top-level actor under the user 
> guardian, and under that top-level actor are multiple child actors.
>
> 1) When I join an cluster system:
>
> A. are all the actors under this actor system automatically a node now? 
>
> B. OR is the top-level actor the only node added to the cluster such that 
> the entire actor system is ONE node? 
>
> 2) Should all the message passing go through the top-level actor under the 
> user guardian? Or can I simply send it to any actor using the Event Stream?
>
> -- 
> >>>>>>>>>> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

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