Communications Between Microservices

There are two basic messaging patterns for communication between two microservices:

Synchronous Communication

In this pattern, a service calls an API that another service exposes, using a protocol such as HTTP or gRPC. This option is a synchronous messaging pattern because the caller waits for a response from the receiver.

Asynchronous Communication

In this pattern, a service sends message without waiting for a response, and one or more services process the message asynchronously. This is done by using a message broker or event bus.

Further information check out https://docs.microsoft.com/en-us/azure/architecture/microservices/design/interservice-communication

Next

Contributors


Last updated: September 10, 2021 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

ABP Studio: The Missing Tool for .NET Developers

15 Aug, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More