I had the honor of going to NDC Minneapolis in 2019. One of the many presentations I attended was about Polly, given by Carl Franklin (the pictures below are from his presentation slides) I recently gave a presentation of my own at an Omnitech Lunch and Learn. We had a lot of good questions and conversations, so there isn’t a lot of content. If you want to learn more about it, just watch Carl’s presentation. Here is the material I used for the presentation.
App-vNext (Carl Franklin’s company) took Polly over a few years ago. It’s now in the .Net Foundation.
We walked through the samples on their GitHub page.
Most Azure services and client SDKs include a retry mechanism. Check out these before deciding if you need to use Polly.
Jeremy at Omnitech had this to say after our lunch and learn,
"I think that understanding the value Polly brings (and retry strategies in general) is really important for us as consultants. We may not need to use them on every project or client, but when you need to have smart retries there's not a great substitute. Sometimes, half the battle is knowing that a tool or strategy exists - I would encourage everyone to make sure they understand, at a general level, when automated retries are useful, the problems they solve, when they are dangerous or the wrong solution, and know of a library or two that makes them easier to work with."
Please consider using Brave and adding me to your payment ledger. Then you won't have to see ads!