[
https://issues.apache.org/jira/browse/HTTPCLIENT-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arturo Bernal updated HTTPCLIENT-2270:
--------------------------------------
Description:
Currently, our AIMDBackoffManager only supports the Additive Increase
Multiplicative Decrease (AIMD) algorithm for managing connection pool sizes.
However, we would like to introduce additional Linear Backoff Strategies to
improve our connection management and provide better resilience to network
failures.
The proposed Linear Backoff Strategies will allow us to gradually increase or
decrease the connection pool size by a fixed amount in response to failed
attempts or successful probes. This approach is more predictable than AIMD and
can be more appropriate for certain network topologies or failure modes.
We plan to implement two new Linear Backoff Strategies: Linear Incremental and
Linear Exponential. Linear Incremental will adjust the connection pool size by
a fixed increment, while Linear Exponential will adjust the size by a
percentage of the current size. Both strategies will have configurable
parameters to customize the increment or percentage, the cool-down period, and
the maximum and minimum size of the pool
was:
In order to offer more flexibility and options for backoff strategies in the
AIMDBackoffManager, we'd like to introduceLinear Backoff strategie. These new
strategie can be useful in various networking scenarios and cater to different
use cases.
Tasks:
# Design and implement the Exponential Backoff strategy based on the
customizable backoff strategy interface (after implementing customizable
strategies).
# Design and implement the Linear Backoff strategy based on the customizable
backoff strategy interface (after implementing customizable strategies).
# Write unit tests to validate the functionality of the new Exponential and
Linear Backoff strategies.
# Update the documentation and JavaDoc to include the new backoff strategies
and provide usage examples.
# Ensure that the new strategies are compatible with the existing
AIMDBackoffManager implementation and do not break any existing functionality
> Linear Backoff Strategies for AIMDBackoffManager
> ------------------------------------------------
>
> Key: HTTPCLIENT-2270
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2270
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Reporter: Arturo Bernal
> Priority: Minor
>
> Currently, our AIMDBackoffManager only supports the Additive Increase
> Multiplicative Decrease (AIMD) algorithm for managing connection pool sizes.
> However, we would like to introduce additional Linear Backoff Strategies to
> improve our connection management and provide better resilience to network
> failures.
> The proposed Linear Backoff Strategies will allow us to gradually increase or
> decrease the connection pool size by a fixed amount in response to failed
> attempts or successful probes. This approach is more predictable than AIMD
> and can be more appropriate for certain network topologies or failure modes.
> We plan to implement two new Linear Backoff Strategies: Linear Incremental
> and Linear Exponential. Linear Incremental will adjust the connection pool
> size by a fixed increment, while Linear Exponential will adjust the size by a
> percentage of the current size. Both strategies will have configurable
> parameters to customize the increment or percentage, the cool-down period,
> and the maximum and minimum size of the pool
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]