11

In the case of one single actor sending a message to another single actor.

I couldn't find anything about this in the official documentation.

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
Gustavo Basso
  • 129
  • 11
  • Note: if you have not already, I suggest asking on the r/rust reddit channel, where the author of the framework is quite active. If you do so, please be sure to cross-reference with this question. – Matthieu M. Apr 11 '18 at 14:46
  • @GustavoBasso If you get an answer there, don't forget to come back here and answer your own question in case someone else would ever have the same! – mcarton Apr 11 '18 at 15:00

1 Answers1

8

The order in which messages are received from one single actor to another single actor is deterministic:

Order is deterministic. Actix uses mpsc queue for messages

See the answer from the author in the rust subreddit.

Tim Diekmann
  • 7,755
  • 11
  • 41
  • 69
dustin.b
  • 1,275
  • 14
  • 33