envoyproxy/envoy

retries: Make retry budgets default

Open

#10.869 aperta il 21 apr 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/retryhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

Currently, the max_retries circuit breaker is set to a static value of 3 by default. Retry budgets enable a better way to protect against retry storms that scales with the number of active requests.

One may have the same behavior as the static max_retries circuit breaker using retry budgets by setting the percentage to 0% and a minimum retry concurrency of the desired static value, so it might also be worth discussing whether the max_retries circuit breaker could be deprecated.

Guida contributor