Hi,

I recently read there is a Netty single channel between nodes to strongly 
guarantee message ordering, is that true?

My other concern is about message ordering when using remote/cluster 
extensions:

Say there are N channels between *node_1* and *node_2*:

   - How is a channel selected when I send a message from *actor_A@node_1* 
   to *actor_B@node_2*, is the channel always the same on *node_1* to 
   guarantee the ordering for that pair? I'm assuming yes, making this 
   question to lead to a more complex question.
   - Lets now say that I have a round-robin local router which created 
*actor_1..N@node_1, 
   N = CPUs* and messages are processed on each copy actor of that router, 
   how is a channel selected if each of these actors say *actor_B.tell(message, 
   noSender())*? but what I'm trying to figure out is if that set of actors 
   use the same channel making* noSender()* create a contention side effect?

If *noSender()* has a bad side effect it should be said on the 
documentation, it could be that it is treated as something special and then 
from the context the real sender is used to identify what channel it is 
going to be used.

Now if there is only a Netty channel to guarantee message ordering, why not 
pick the channel base on the hash of the pair composed by sender and 
recipient?
That will still guarantee the message ordering that is officially 
documented and reduce contention considerably IMHO.

Best regards,

Guido.


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