Questions tagged [exponential-backoff]
76 questions
0
votes
1 answer
Python Exponential BackOff
I tried to implement the exponential backoff for my function using the reference code in Implementing a retry routine
However in my case I do not want my function to fail or throw an error after the set number of retries. I would want to catch the…

thedataguy
- 11
- 4
0
votes
1 answer
Uni subscription not running when using retry policy
I have encountered some weird behavior while using Mutiny along Quarkus.
My problem is that I am trying to wrap an existing method into a Uni and I want this method to be retried a certain number of times and if they all fail, I want my failure…

Rafa S.R.
- 38
- 5
0
votes
1 answer
Best way to implement retry with exponential backoff with elasticsearch 7
I am upgrading from ES5.6 to ES7. In the past, we cloned ES5 repo and added custom code for retry with exponential backoff.
public void doRetryWithExponentialBackoff(BasicCallback mainAttempt, ExceptionHandlingCallback onFailure) {
int…

A_G
- 2,260
- 3
- 23
- 56
0
votes
0 answers
Does Microsoft.Azure.Devices Auto-Retry Policy work on Transient Errors?
I am using Microsoft.Azure.Devices nuget package to send packets onto the IOT Hub device over amqp. At times when there is a connectivity issue, I receive 'No such host is known'. I have default retry policy (exponential-backoff) enabled on my…

G Ali
- 21
- 6
0
votes
1 answer
How to retry for fixed amount of time after all previous retries are exhausted in Kafka consumer?
I am using exponential retry in Kafka consumer. And it is working as expected but I need to add some more configuration to it. Suppose after the maximum retry attempt, the request is still not successful then I need to retry it for a fixed time…

Suhaas
- 13
- 2
0
votes
1 answer
How do I program Exponential Backoff into a Google Sheets Script?
How would one program Exponential Backoff into this script so that when I run into an error it will attempt to run again?
Errors being encountered:
There are too many scripts running simultaneously for this Google user account.
Too many…

Anthony Ianucilli
- 51
- 3
0
votes
2 answers
Exponential Wait time in AWS Step Function
Currently, a wait state in AWS can wait only for a defined set period of time.
let's say my step function checks with API for status if the status is updated it will move ahead or else it will wait again for a set period of time!
I would like to…

Hrishikesh
- 356
- 2
- 11
0
votes
0 answers
Why use exponential backoff algorithm for rate limited system throttling?
I am dealing with a CDN system that has a max request rate per minute (since all objects are about the same size, there is no bitrate limit)
Frankly, I do not yet know if it's #/clock minute, or calculated rate.
I have a single daemon that downloads…

Mark Gerolimatos
- 2,424
- 1
- 23
- 33
0
votes
1 answer
Companies House Rate Limit Handling with ratelimit library
I am working with the companies house API to extract several thousands profiles of companies.
The normal ratelimit is 600/5 minutes, but can be extended to 1200/5 minutes. I used this script last week and it was working fine for several hours, now i…

Tytire Recubans
- 967
- 10
- 27
0
votes
0 answers
Calculating delay with exponential backoff
I'm writing my own retry logic with exponential backoff based on Microsoft's sample code on following page:…

bigb055
- 198
- 3
- 14
0
votes
1 answer
Observable.timer rxjava not working for exponential back off
I am trying to set up an exponential back off via an Observable.timer if the network is down or if a given service is down. I have a retryWhen when there are errors.
I have two issue, I cannot get the timer to work, no matter the time set, it…

Krysta
- 57
- 1
- 11
0
votes
0 answers
Existing frameworks to implement a REST-ful API framework with authentication/authorization and exponential backoff
I wanted to know if there are existing frameworks to build a REST-ful API with authentication/authorization and extra features like exponential backoff. The framework that I am looking for similar features is not unlike Google's Cloud API. I know…

Jane Wayne
- 8,205
- 17
- 75
- 120
0
votes
1 answer
Reading content from google client http response multiple times in a batch request
Following the Google Drive REST API documentation, I'm implementing an exponential backoff strategy for recoverable API errors. I'd like to retry my request if the error code is 500 or 403 (and maybe 429), but I noticed that not all 403 errors are…

gbaso
- 143
- 1
- 10
0
votes
2 answers
How to implement Exponential Backoff for Google Gmail API?
I am currently using Gmail API to send emails on user's behalf. The Mails are sent one by one and the average size of recipients is 500.
I frequently see {
"code" : 500,
"errors" : [ {
"domain" : "global",
"message" : "Backend Error",
…

zee
- 502
- 8
- 28
0
votes
1 answer
Why we apply delay between retry requests
When we have a piece of code that often fails and must be retried. Then we use retry pattern.
try {
//do request here
} catch (Exception e) {
//wait for some millisecond and retry
retry();
}
We normally delay for some…

Muhammad Imran Tariq
- 22,654
- 47
- 125
- 190