madsim-rs / madsim

Magical Deterministic Simulator for distributed systems in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tonic: simulate connection broken

wangrunji0408 opened this issue · comments

The real-world gRPC sets up a TCP connection between client and server. So when a node is down, the other side will return an error of connection broken down. However, in our simulation, the underlying network is a connectionless model, so nothing will happen when the peer is down.