You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ioannis Sermetziadis (JIRA)" <ji...@apache.org> on 2017/10/07 23:50:03 UTC

[jira] [Updated] (HTTPCLIENT-1874) Exponential back-off retry mechanism

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Sermetziadis updated HTTPCLIENT-1874:
---------------------------------------------
    Description: 
I believe it would be useful to have an Exponential Back-off algorithm implementation, as an HttpRequestRetryHandler or under a new interface, named HttpRequestRetryPolicy.

The implementation could provide both synchronous (similar to the existing retry mechanism) and asynchronous retries, using a provided ExecutorService/ScheduledExecutorService.

Any feedback would be much appreciated. If you agree with the value of such a feature, I could proceed to the implementation.

  was:
I believe it would be useful to have an Exponential Back-off algorithm implementation, as an HttpRequestRetryHandler or under a new interface name HttpRequestRetryPolicy.

The implementation could provide both synchronous (similar to the existing retry mechanism) and asynchronous retries, using a provided ExecutorService/ScheduledExecutorService.

Any feedback would be much appreciated. If you agree with the value of such a feature, I could proceed to the implementation.


> Exponential back-off retry mechanism
> ------------------------------------
>
>                 Key: HTTPCLIENT-1874
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1874
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>            Reporter: Ioannis Sermetziadis
>
> I believe it would be useful to have an Exponential Back-off algorithm implementation, as an HttpRequestRetryHandler or under a new interface, named HttpRequestRetryPolicy.
> The implementation could provide both synchronous (similar to the existing retry mechanism) and asynchronous retries, using a provided ExecutorService/ScheduledExecutorService.
> Any feedback would be much appreciated. If you agree with the value of such a feature, I could proceed to the implementation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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