From the course: Microservices: Asynchronous Messaging
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
The gains
From the course: Microservices: Asynchronous Messaging
The gains
- [Instructor] We briefly touched on some of the benefits of this communication style, but I want to go into a little more depth to the power of these architectural design decisions, to help you be better prepared to know when and why you would use such a communication style in your microservices system. In TCP/IP communications on a network, and it used to be a real issue with routing protocols, it was possible to bring a network to its knees through what is called a broadcast storm. Each node was broadcasting its routing table to the whole network, and the network itself would become gridlocked. A similar pattern can emerge in a microservices architecture. As more and more services enter the system or even more prevalent, the container orchestrator, the chattiness of communications can lead to congestion in the network. TCP is a chatty protocol to begin with, and then you add to it the many calls needed to make one…