Software Quality

March 27, 2016

Transient Fault Handling is easy with Polly

Filed under: Uncategorized — David Allen @ 1:07 pm

If you deal with real-world systems, and you value availability, you will want a strategy for handling transient faults. As we move to a greater reliance on services and microservices, we have a greater responsibility to consider such strategies to maintain adequate availability of our solutions.

There are several frameworks out there to help with this in .Net. But the one I like best is Polly.

https://github.com/App-vNext/Polly

Scott Hansleman did a great post on it.

I like it because the syntax is very clean and intentional.

You can choose another framework, or roll your own. But you can’t ignore this without leaving your users vulnerable to outages. If the outages are limited in time and occasional, why not just RETRY?

 

 

 

1 Comment »

  1. Ooh, that’s super clean. I like it!

    Comment by Uriah Blatherwick (@paladinu) — March 27, 2016 @ 5:11 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: