December 2019
Intermediate to advanced
510 pages
11h 33m
English
In the previous sections, we described how to achieve communication between the catalog service and the cart service. Now, we should be asking ourselves the following questions about the runtime execution and the communication between our services: what happens if the catalog service is down? What happens if the catalog service has a slow response time? The Polly.NET package comes in handy for these kinds of issues (https://github.com/App-vNext/Polly).
Polly.NET is based on policies, where each policy can be used individually or combined with others to provide resilience to the client. Out of the box, the library offers some standard resilience policies, such as retry, circuit breaker, and timeout
Read now
Unlock full access