Perhaps use a Group router with only one routee instance on each node, and
that routee Actor can create child actors and delegate work to them. These
children can be created as normal actors, or as a Pool router.

However, that will distribute the load evenly to all nodes, not taking into
account that some nodes have more workers than others.

You can also do it plain ordinary actors, no routers, and subscribe to
cluster membership events and use cluster roles to define different "size"
nodes.

Cheers,
Patrik

On Tue, Feb 2, 2016 at 5:46 PM, <bitsofinf...@gmail.com> wrote:

> Hi - I have a design question when it comes to dynamically created actors
> and akka clustering, I posted it on stackoverflow. Any advice/thoughts much
> appreciated!
>
>
> http://stackoverflow.com/questions/35158749/design-help-akka-clustering-and-dynamically-created-actors
>
> --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

[image: Lightbend] <http://www.lightbend.com/>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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