This chapter introduces strategies for making a system of microservices robust in the face of failures. In general, whenever one microservice communicates with another, the communication may fail. In this chapter, you’ll learn about and implement some patterns for dealing with such failures. The strategies are fairly simple, but they’ll make the overall system much more robust.
An error happens when the system can’t serve its users properly. Some typical examples of errors are these: