In the previous chapter, we provided an overview of the containerization process and how to use containers to run a service. We also learned how to host the catalog service on containers using Docker and how to use the multistage build approach to create and run our container images.
This chapter focuses on some patterns that are used when multiple services are part of the same ecosystem. Then, we will look at the implementation of the communication between those services. We will also learn how to build a resilient connection between various web services that are part of the same system in order to avoid some of the common pitfalls related to data exchange.
In this chapter, we will cover the following topics:
- An introduction to the cart service
- Implementing resilient communication using an HTTP client
- An introduction to event buses
- How to perform event...