Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the Rust actors framework Actix guarantee message order between two actors?

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.

like image 226
Gustavo Basso Avatar asked Apr 11 '18 14:04

Gustavo Basso


1 Answers

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.

like image 61
dustin.b Avatar answered Nov 04 '22 12:11

dustin.b