Why does distributed.rs appear to send two messages when replying to a remote actor? #158
-
On line 116: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.