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
DPRC pool holds a set of DRPC connections to a peer node. Until now, pool was not configired with
any connection timeout under the assumption that cancellnig a stream would also free its underlying
connection. However, our benchmarks where QPS fluctuates over the course of a run relevealed that
streams are continously opened and closed. Because each stream in the pool corresponds to its own
TCP connection (unlike gRPC, which multiplexes streams over a single connection), this constant
opening and closing of a connection is undesireable. To address this, the PR adds a connection
expiration mechanism so that idle connections are closed independently of the streams.
Fixes: #140670
Epic: CRDB-48929
Release note: none
0 commit comments