2 ms·
Interesting that gRPC is too slow for the latencies they're aiming at, maybe Cap'n Proto would be a better match. He doesn't go into details on how they handle
by tveita 4y ago
Interesting that gRPC is too slow for the latencies they're aiming at, maybe Cap'n Proto would be a better match.
He doesn't go into details on how they handle packet loss, but the paper[1] says:
Receivers use a simple timeout-based mechanism
to detect lost packets. If a long time period (a few milliseconds)
elapses without additional packets arriving for a message, the
receiver sends a RESEND packet that identifies the first range
of missing bytes; the sender will then retransmit those bytes.
Their implementation uses 15 ms as a default, so even crossing regions e.g. between us-west-1 and us-west-2 would time out [2]. So they're really only targetting communication within a single datacenter, this is not a protocol for "the Internet". Maybe annoying if you need to switch protocols depending on where your target server is located at.
[1] https://people.csail.mit.edu/alizadeh/papers/homa-sigcomm18.pdf https://people.csail.mit.edu/alizadeh/papers/homa-sigcomm18....
[2] https://www.cloudping.co/grid https://www.cloudping.co/grid