Open fabricedesre opened 5 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.
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.