exponential-backoff Questions

3

I just upgraded to AWS SDK V3 and I have no idea how to configure retryDelayOptions and customBackoff with it. I couldn't find any example code in AWS's own API reference or online. This is what I ...

2

Solved

I'm using Polly in very basic scenario to do exponential backoff if an HTTP call fails: protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationT...
Umpire asked 26/6, 2019 at 9:15

1

Solved

The cloud.google.com/go/pubsub library recently released (in v1.5.0, cf. https://github.com/googleapis/google-cloud-go/releases/tag/pubsub%2Fv1.5.0) support for a new RetryPolicy server-side featur...
Herniorrhaphy asked 30/7, 2020 at 1:57

1

Solved

I've created a standard AmazonDynamoDBClient using the AmazonDynamoDBClientBuilder: AmazonDynamoDBClient client = AmazonDynamoDBClientBuilder.standard().build(); In the documentation for the Ama...
Jamboree asked 18/9, 2019 at 17:18

3

Solved

Here is some sample code I've seen. int expBackoff = (int) Math.pow(2, retryCount); int maxJitter = (int) Math.ceil(expBackoff*0.2); int finalBackoff = expBackoff + random.nextInt(maxJitter); I...
Chigger asked 25/10, 2017 at 18:7

1

Solved

I have a callable class: class CallMeMaybe: __name__ = 'maybe' def __init__(self): self.n_calls = 0 def __call__(self): self.n_calls += 1 raise Exception That seems to work as advertise...
Algae asked 25/4, 2018 at 19:59

1

Solved

I'm trying to implement a Spring Boot-based Kafka consumer that has some very strong message delivery guarentees, even in a case of an error. messages from a partition must be processed in order, ...

3

Solved

When the code is waiting for some condition in which delay time is not deterministic, it looks like many people choose to use exponential backoff, i.e. wait N seconds, check if the condition satisf...
1

© 2022 - 2024 — McMap. All rights reserved.