Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.0 KiB

//[doc-seo]
{
    "Description": "Learn effective strategies for interservice communication in microservices, covering both synchronous and asynchronous messaging patterns."
}

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

See Also