In this post, we will see how to resolve How to retry a Polly rate limit when the rate limit has exceeded? Question: I’ve got the following policy setup: This should: Rate limit requests till 1 req/s Retry when rate ...

In this post, we will see how to resolve Polly re-try policy not working in conjunction with circuit breaker with Ocelot Question: I wanted to use Polly re-try and circuit breaker with Ocelot api gateway. I am trying to wrap ...

In this post, we will see how to resolve What is the most efficient way to write this retry logic for a try-catch? C# Question: I have a C# task that I’d like to re run if a certain exception ...

In this post, we will see how to resolve Retry pattern swallows the exceptions in a Task.Run Question: I’ve got two Transient Fault Handling/Retry pattern implementations. The issue is that theTask.Run swallows the exception and it doesn’t rethrow it out ...

In this post, we will see how to resolve Polly Retry – Accept optional custom exception handler Question: How do I make the following Polly Retry policy let the user specify a custom handler such as the one below: Snippet ...

Question: I came to know through Polly I can re-try the execution up to multiple configurable time like below example, In my case below I am doing JSON serialization and all to find the error code 403002 and only on ...

Question: I’ve just developed the primitive API client for Instagram based on “requests” library. The next goal is to implement retry logic for 400+ and 500+ error codes. There is a bunch of examples how to do this, but I’m ...