From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Understanding the resiliency capabilities in Dapr
From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Understanding the resiliency capabilities in Dapr
- [Instructor] Generally speaking, in most distributed applications, we have dozens or even hundreds of microservices running across all kinds of infrastructure. As these systems get bigger and more complex, the chances of something going wrong naturally go up. That's where the resiliency policies come in, for example, they come in handy when you're using the servicing vocation building block, and one of the target services is down. With a resiliency policy, it can wait for a specified amount of time and automatically retry the communication. In Docker, there are a few types of policies that you can set up: timeouts, so you can wait a certain amount of time or just stop long running operations beforehand. Retries to try sending a request again, once the issue's fixed and circuit breakers to cut off traffic to a failing service and reduce its load while it's down. You can also turn on the app health check feature, so Docker knows when a microservice is not healthy. For example, if its…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understanding the resiliency capabilities in Dapr1m 25s
-
(Locked)
Creating and implementing retry resiliency policies6m 22s
-
(Locked)
Creating and implementing timeout resiliency policies2m 32s
-
(Locked)
Creating and implementing circuit breaker resiliency policies5m 43s
-
(Locked)
Implementing app health checks6m 50s
-
(Locked)
Challenge: Implementing resiliency capabilities40s
-
(Locked)
Solution: Implementing resiliency capabilities3m 52s
-
(Locked)
-
-
-
-
-
-
-
-