- Improving your C# Skills
- Ovais Mehboob Ahmed Khan John Callaway Clayton Hunt Rod Stephens
- 65字
- 2025-04-04 14:55:24
Reactive policies
According to the reactive policy, we should instantly retry the service request if the request fails on its first attempt. To implement the reactive policy, we can use the following patterns:
- Retry: Retries immediately when the request fails
- Circuit breaker: Stops all requests to a service in a faulted state
- Fallback: Returns a default response if the service is in a faulted state