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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.200.76