Hi James,

1) Message sends are not guaranteed to be delivered (i.e. at-most-once)
2) B could die/exit before it gets the message from C
3) C could die/exit before it gets the message from A

That aside, if those things do not happen, it should be fine.

On Tue, Feb 16, 2016 at 9:27 PM, James P <[email protected]> wrote:

> Hi folks,
>
> Good day. I'm fairly new to Akka so I just wanted to ask the community a
> quick question.
>
> Consider the following scenario:
>
> 1) Actor A creates Actor B
> 2) Actor A sends a message to Actor C telling it to perform a computation
> and send results to Actor B
> 3) Actor C sends a message to Actor B
>
> My question is, is it guaranteed that Actor B will receive the message
> from Actor C? Or will there exist a potential race condition wherein Actor
> B might not be fully instantiated yet by the time Actor C sends the message
> destined for Actor B?
>
> Any help would be much appreciated.
>
> Thanks and have a great day.
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to