55
CHAPTER 3 | Architecting container and microservice-based applications
Azure Service Bus. In this scenario, most of the “smart” thinking still lives in the endpoints that ar
e
producing and consuming messages-that is, in the microservices.
Another rule you should try to follow, as much as possible, is to use only asynchronous messaging
between the internal services, and to use synchronous communication (such as HTTP) only from the
client apps to the front-end services (API Gateways plus the first level of microservices).
There are two kinds of asynchronous messaging communication: single receiver message-based
communication, and multiple receivers message-based communication. The following sections
provide details about them.
Dostları ilə paylaş: