[akka-user] Mixing local and remote actor instances

2014-08-01 Thread Mark Kaberman
I am trying to figure out if is possible to configure Akka to run x number of local and y number of remote instances of the same actor (basically combination of scale up and scale out approaches). The documentation is clear about how to configure local and remote actors, but I couldn't find any

Re: [akka-user] Mixing local and remote actor instances

2014-08-01 Thread √iktor Ҡlang
Yep. See: 1. # Defines if routees are allowed to be located on the same node as 2. # the head router actor, or only on remote nodes. 3. # Useful for master-worker scenario where all routees are remote. 4. allow-local-routees = on http://doc.akka.io/docs/akka/2.3.4/general/configura

Re: [akka-user] Mixing local and remote actor instances

2014-08-04 Thread Mark Kaberman
It worked in a sense that Akka started local instances as well as remote ones. The problem is that nr-of-instances number of actors were started on each host. I am wondering if there is away to control the number of instances on each host? On Friday, August 1, 2014 11:28:57 AM UTC-4, √ wrote: >

Re: [akka-user] Mixing local and remote actor instances

2014-08-05 Thread Konrad Malawski
Hi Mark, when using Router *Pools* and `withDeploy()` (or equivalent configuration) we do not offer exact "here 4, there 10" configuration options. If you need such very exact semantics you can achieve this with plain remoting and spin up the remote actors