From the course: Microservices: Asynchronous Messaging

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Asynchronous communications

Asynchronous communications

- [Instructor] When dealing with system-to-system calls, there are only two strategies. The traditional model that most of us have dealt with is the synchronous model. The asynchronous model of interservice communication, however, has significant value. Before we talk about asynchronous communications and microservices, I want to spend a moment and talk about standard microservices communications. In a standard model, service-to-service communications is over HTTP using RESTful patterns. The calls are synchronous in nature, meaning that the caller waits for a response, but more importantly, that response is sent after the request is fully processed. Each call therefore becomes a blocking call that the client must wait on a success or failure indicated by status codes from the service being called. As such, in this model, call paths can become deep. Now it isn't usually a big deal in small, concise operations, but it can…

Contents