Summary
In this chapter, we looked at the principles of microservices and their advantages and drawbacks. After that, we learned how to model microservices and discussed some important concepts regarding distributed computing that are inherent to this architectural style. Finally, we reviewed the CAP theorem and how to handle failures gracefully during interaction with other services. In the next chapter, we are going to look at the serverless architectural style, which can also be integrated as part of your microservices environment.