slawlor / ractor

Rust actor framework
MIT License
1.31k stars 68 forks source link

How to communicate between local actors and remote actors across hosts using ractor? #138

Closed phil-skillwon closed 11 months ago

phil-skillwon commented 11 months ago

Hello, I'm very interested in ractor and am keen to use it in my project. I've previously used C++ CAF, which is also an open-source actor framework inspired by Erlang's actor model. I've noticed many similarities between ractor and CAF, which allows me to get started with ractor more quickly. However, I couldn't find any examples regarding communication between local and remote actors. Could you provide me with some examples of how to communicate with remote actors in ractor and ractor_cluster? For instance: an actor on Host A communicating with an actor on Host B, where the actor on Host B is considered a remote actor from the perspective of Host A.

slawlor commented 11 months ago

Duplicate of discussion of same name and topic