On Mon, Jan 12, 2015 at 5:38 AM, Krishna Kadam <[email protected]
> wrote:

>
>
> Hi all,
>>
> Thanks for your valuable guidance, But I am bit confused with the answer
> to first question. In what circumstances I should share the message queue
> in between two actors and In what circumstances should I not share the
> queue?
>

Short answer, you should never share mailboxes between actors.

Long answer, you should never share mailboxes between actors unless you
understand all the implications of using a BalancingRouter and
BalancingDispatcher and you evaluated all other options, measured them, and
the Balancing* approach is clrearly the only one working for you.

-Endre


> Also If I shared the mailbox in between two actors then How will be the
> message consumption ? in round robin fashion or broadcast-ed to both?
>
>> *Thanks & Regards *
>> *Shrikrishna Kadam*
>>
>  --
> >>>>>>>>>> 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.
>

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