Chapter 2: Why Is Messaging Important in the Microservice Architecture?
The microservice architecture operates in a decentralized manner where each function is executed by an independent microservice. At the same time, the success of the overall solution depends on the success of each service, as well as the collaboration among services. This demands a proper messaging framework to handle inter-service communication. Messaging is a method of communication between software components or applications. In a typical enterprise platform, there are two main flows of traffic, namely North-South traffic and East-West traffic. The North-South traffic represents the communication coming in and going out of a data center from external systems. In the context of microservices, we can replace the data center with a microservice-based platform. The East-West traffic represents the communication within the data center. For microservices, we can define East-West traffic as the communication within...