Re: [akka-user] BalancingDispatcher Broadcast message bug.

2014-04-22 Thread Patrik Nordwall
On Thu, Apr 17, 2014 at 7:47 AM, Roland Kuhn goo...@rkuhn.info wrote: 16 apr 2014 kl. 23:26 skrev √iktor Ҡlang viktor.kl...@gmail.com: Hi Vitaly, On Wed, Apr 16, 2014 at 11:24 PM, vitaly tamazyan vit@gmail.com wrote: Good point, thanks! I think this corner case should be noted in

[akka-user] BalancingDispatcher Broadcast message bug.

2014-04-16 Thread vitaly tamazyan
When I try to tell a Broadcast message to routees with BalancingDispatcher, I get strange behavior -- some actors get the message twice, and some -- not at all. Same thing happens if I manually iterate through routee's actorRefs and send a message directly to them. This I believe is not

Re: [akka-user] BalancingDispatcher Broadcast message bug.

2014-04-16 Thread √iktor Ҡlang
Hi Vitaly, Actors who have a BalancingDispatcher are sharing the same mailbox instance. Your observed behavior is perfectly expected. On Wed, Apr 16, 2014 at 11:00 PM, vitaly tamazyan vit@gmail.com wrote: When I try to tell a Broadcast message to routees with BalancingDispatcher, I get

Re: [akka-user] BalancingDispatcher Broadcast message bug.

2014-04-16 Thread vitaly tamazyan
Good point, thanks! I think this corner case should be noted in the documentation on Broadcast messages, because now it says: A Broadcast message can be used to send a message to *all* of a router's routees. When a router receives aBroadcast message, it will broadcast that message's *payload*