This page is no longer maintained — Please continue to the home page at

Fwd: Re: Do actors need to retain the message order?

No replies
Viktor Klang
Joined: 2008-12-17,
User offline. Last seen 1 year 27 weeks ago.

Damn you, Reply-all...

---------- Forwarded message ----------
From: "√iktor Ҡlang" <viktor [dot] klang [at] gmail [dot] com>
Date: Nov 17, 2011 10:44 PM
Subject: Re: [scala-user] Do actors need to retain the message order?
To: "Saxo" <saxo123 [at] gmx [dot] de>

On Nov 17, 2011 10:28 PM, "Saxo" <saxo123 [at] gmx [dot] de> wrote:
> Hello,
> I just happened to ask myself whether the messages that are sent from
> the same actor to another specific actor necessarily need to arrive in
> the order they were sent. I allways thought that this assumption
> cannot be made since communication between actors is asynchronous.

Would you mind elaborating why this would be a problem?

> Now, when looking at some Java actor frameworks I realized that people
> state, with some pride apparently, that the message order is retained.

It's fairly common with selective receives and message priorization requirements. Completely unordered would just push the responsibility over to the programmer.

> My question is whether this is a feature or a must have for an actor
> framework to be true to the actor metaphor?

Do we need to enlist Carl or Gul to settle this or who will be the judge?

Does anybody know. What
> are the opinion out there?

Opinions are common ;-)


> Thanks for any answer.
> Cheers, Saxo

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland