riker-rs / riker

Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
https://riker.rs
MIT License
1.02k stars 69 forks source link

About Remote actors #69

Open fabricedesre opened 5 years ago

fabricedesre commented 5 years ago

The readme talks about remote actors, which looks super interesting! Are there more details on how that would work?

One usage example would be to build distributed apps with one side being a server others wasm compiled Riker code in web browsers.

olanod commented 4 years ago

I'm also interested about this one. I've used a bit libp2p and was wondering how hard it would be to prototype a swarm of peers sending messages to each other. :thinking: Cool thing about libp2p is that it makes service discovery easy(e.g. built-in mDNS discovery), is transport agnostic so it can run on the browser over WebSockets or later be upgraded transparently to use WebRTC data channels and even use intermediaries to gossip messages to remote peers that don't talk the browser protocols, also some state could be shared over a DHT to for example advertise what actors can be found on what nodes.