envoyproxy / xds-relay

Caching, aggregation, and relaying for xDS compliant clients and origin servers
Apache License 2.0
131 stars 29 forks source link

Add jitter for per stream timeouts #222

Closed pcalley closed 3 years ago

pcalley commented 3 years ago

Add Jitter in seconds for upstream connection. Used with timeout to reset connections without overloading the upstream server with reconnect requests. Jitter is the upper tolerance for random variation in the timeout. e.g. timeout=15, jitter=5 -> connectionTimeout is rand Int 15 and 20. Defaults to no jitter.