You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2023/04/29 20:57:00 UTC

[jira] [Created] (HTTPCLIENT-2272) Add Exponential Backoff Strategy to AIMDBackoffManager

Arturo Bernal created HTTPCLIENT-2272:
-----------------------------------------

             Summary: Add Exponential Backoff Strategy to AIMDBackoffManager
                 Key: HTTPCLIENT-2272
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2272
             Project: HttpComponents HttpClient
          Issue Type: Improvement
            Reporter: Arturo Bernal


As part of our ongoing efforts to improve the reliability and performance of our system, we want to add support for exponential backoff in the {{AIMDBackoffManager}} class.

Exponential backoff is a common strategy used in networking to reduce the number of retries and failures during high load or congested periods. The basic idea is to increase the delay between retries exponentially after each attempt, instead of using a fixed delay as in linear backoff. This helps to reduce the load on the server and improve overall system stability.

The implementation of the exponential backoff strategy will be similar to the existing linear backoff strategy, but with some modifications to the delay calculation. The delay between retries will be calculated using an exponential function with a configurable base value and multiplier. The base value will be the initial delay, and the multiplier will be the factor by which the delay increases after each attempt.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org