From the course: Microservices: Asynchronous Messaging
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Service communications
From the course: Microservices: Asynchronous Messaging
Service communications
- [Instructor] One of the most common forays into asynchronous communications and messaging is for interservice communications. Often, you find yourself in a situation where you just need to push a message to a remote system to do work, and you don't want a block on the downstream system completing its tasks. Now, while I'm just going to introduce them here, I'm hoping that this will get you thinking about the use cases before we do a deep dive. Point to point messaging is one of the easiest ways in a microservices architecture to move to asynchronous messaging. These calls can replace traditional restful calls between services, where the response is not needed or can be received in and out of band process. In this model, there is a single producer that creates a message and puts it onto the message broker. There is also a single consumer who responds or listens to the message and does some action on it. It is important…