Skip to content

Why does distributed.rs appear to send two messages when replying to a remote actor? #158

Answered by slawlor
phil-skillwon asked this question in Q&A
Discussion options

You must be logged in to vote

RPC's must have a reply, while non-rpc's don't.

So we first reply, then that actor triggers a broadcast to the other actors waiting on their replies. It's just using RPCs instead of cast operations. It's not really probably the best example, but it's a playground, it's not meant to be production examples.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by phil-skillwon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants