You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2022. It is now read-only.
#4 Brought in initial support for Tonic, but it is incomplete and there are several issues which makes it difficult to use.
@LucioFranco mentioned that we should provide our own transport for Tonic. I believe this entails providing an implementation of tower_service::Service which internally dispatches to the Environment handle for new connections.
To improve ergonomics a bit, it would be nice new Environment handles could be registered with a hostname, and the hostname be used to resolve network endpoints. I imaging something like:
let server1 = runtime.handle("server1.cluster.local");let server2 = runtime.handle("server2.cluster.local");
server1.spawn(start_server());
server1.connect("server2.cluster.local").await;
The simulation-tonicbank.rs test currently uses timeouts to drop send/receive futures. This seems to result in occasional errors returned by Tonic.