...

/

Resiliency through Cloud-Native Patterns

Resiliency through Cloud-Native Patterns

Learn how to enhance application resiliency using Polly, a library for implementing various resiliency patterns, such as retries and circuit breakers.

We'll cover the following...

Application resiliency can be measured by how durable and recovery prone a service or application is. There are different paradigms for analyzing and implementing resiliency in applications, including infrastructure and software design patterns. For the purposes of this chapter, we’ll be examining software patterns that leverage cloud-first architectural patterns to bolster application resiliency.

While we can review the architectural patterns using the Azure architecture center as well as various sources for software resiliency, we’re going to be looking at a library that’s fairly prevalent, especially in cloud-first development circles. This library is called Polly. Polly is a library that allows us to implement several different types of policies in either a synchronous or asynchronous manner to address specific issues or to combat known problems with cloud service transiency, as well as advanced error handling techniques, such as the circuit breaker pattern.

To familiarize ourselves with Polly, let’s look at a simple example of how we can implement both a circuit ...