Hi,

I'd like clarification regarding something Roland mentioned in the Coursera 
Reactive Programming class (which my co-workers and I have really found 
useful - nice job Roland!).  In one of the lectures he was discussing the 
guarantee that Akka makes regarding the order in which messages are 
received -- specifically that messages between sender-receiver actor pairs 
will not be delivered out of order. 

We'd like to know how the guarantee applies when the sender is not 
explicitly an Actor but some other object that has obtained an ActorRef via 
actorSelection?  If I look up the ref once and cache it and then send 
multiple messages using that same ref instance, does the same guarantee 
apply as between actor pairs?  

What if I don't cache the ref but select it each time this object wants to 
send a message to that same actor ref?

Guessing that even though my object that is sending messages is not an 
actor, under the covers and in order for the message send to work 
correctly, an implicit sender Actor is created and then the message order 
guarantee applies between that sender-receiver pair?  So, as long as I 
cache the ActorRef and re-use it the guarantee will hold but if I perform 
an actorSelection each time it may not?

Thanks and Merry Christmas,
-Derek

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to