Hi Rob,

On Fri, Apr 18, 2014 at 10:27 AM, Rob Bakker
<[email protected]>wrote:

> Hi
>
> I look at the messages akka.routing.AddRoutee  and
> akka.routing.RemoveRoutee and was wondering why there isn't any
> restrictions described when to use these messages.
> Because I would expect that you should only use these when using a Group.
>

Yes, they are intended for Group, but as far as I know they work for Pool
as well. It can be considered as a hidden feature.

AdjustPoolSize is intended for Pool.

/Patrik



> And especially for the Router versions which doesn't support Group (for
> example 
> BalancingPool<http://doc.akka.io/docs/akka/2.3.2/scala/routing.html#BalancingPool>
>  or 
> SmallestMailboxPool<http://doc.akka.io/docs/akka/2.3.2/scala/routing.html#SmallestMailboxPool>
> )
>
> Is my assumption correct: not to use these messages on Pool routers?
>
> Rob
>
> PS it looks like AddRoutee works with the 
> SmallestMailboxPool<http://doc.akka.io/docs/akka/2.3.2/scala/routing.html#SmallestMailboxPool>
>  but
> of course the 
> BalancingPool<http://doc.akka.io/docs/akka/2.3.2/scala/routing.html#BalancingPool>
>  don't
> work due to the fact that the new self created Routee doesn't share the
> same mailbox as the routees created by the pool
>
>
>
>
>
>
>
>
>  --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw
JOIN US. REGISTER TODAY! <http://www.scaladays.org/>
Scala <http://www.scaladays.org/>
Days <http://www.scaladays.org/>
June 16th-18th, <http://www.scaladays.org/>
Berlin <http://www.scaladays.org/>

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