Re: [akka-user] BalancingPool versus RoundRobinPool + BalancingDispatcher

2015-01-23 Thread Roland Kuhn
You’re welcome! > 23 jan 2015 kl. 15:15 skrev Jean Helou : > > Hi roland, > > The BalancingDispatcher is a very particular setup: a thread pool of size N > with N actors that all pull from the same queue. Thread pool sizes are not > changeable at runtime in Akka. > > Thanks for the explana

Re: [akka-user] BalancingPool versus RoundRobinPool + BalancingDispatcher

2015-01-23 Thread Jean Helou
Hi roland, > The BalancingDispatcher is a very particular setup: a thread pool of size > N with N actors that all pull from the same queue. Thread pool sizes are > not changeable at runtime in Akka. > Thanks for the explanation. I can see why it wouldn't make sense to have a resizable BalancingD

Re: [akka-user] BalancingPool versus RoundRobinPool + BalancingDispatcher

2015-01-22 Thread Roland Kuhn
Hi Jean, > 20 jan 2015 kl. 15:26 skrev Jean Helou : > > Hello Roland, > > thanks for taking the time to answer. > > your description very much sounds like an Actor should be handling the pool, > not a router. > > Alright, however I am still curious as to why the BalancingPool doesn't > ha

Re: [akka-user] BalancingPool versus RoundRobinPool + BalancingDispatcher

2015-01-20 Thread Jean Helou
Hello Roland, thanks for taking the time to answer. your description very much sounds like an Actor should be handling the > pool, not a router. > Alright, however I am still curious as to why the BalancingPool doesn't handle resize and why RoundRobinPool + BalancingDispatcher is deprecated

Re: [akka-user] BalancingPool versus RoundRobinPool + BalancingDispatcher

2015-01-20 Thread Roland Kuhn
Hi Jean, your description very much sounds like an Actor should be handling the pool, not a router. You can use the DefaultResizer stand-alone (for determining what to do) and you can also use the RoundRobinRoutingLogic stand-alone (for determining where to send to); then the only missing piece

[akka-user] BalancingPool versus RoundRobinPool + BalancingDispatcher

2015-01-13 Thread Jean Helou
Hi everyone, Using Akka 2.3.6, I would like to create a fixed size actor pool which keeps a constant number of actors, spawning new routees to replace any routee which stops or dies. I would also like to loose as few messages as possible. I experimented with a fixed size pool but ultimately I