Summary
The contents of this chapter help us to be more mindful of the potential for failures in our microservices application. These concepts help us not only construct powerful and stable web services but also supercharge the communication mechanisms that exist between them.
We see that service outages are not always due to faulty code or the database and server of the initial web service, but we are facilitating inter-service communication as well, which leads to greater dependence on the network, third-party service, and general infrastructure uptime. This leads down a path where we implement contingencies that assist in ensuring that our application gives our users as good an experience as possible.
We looked at several techniques for increasing service reliability, such as using a caching layer with technology such as Redis Cache for our GET
operations, a message broker for our write operations, and writing more foolproof code using frameworks such as Polly. With Polly...