- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Fwd: Re: Do actors need to retain the message order?
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:
> 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