36
CHAPTER 3 | Architecting container and microservice-based applications
Therefore, in order to enforce microservice autonomy and have better resiliency, you should minimize
the use of chains of request/response communication across microservices. It’s recommended that
you use only asynchronous interaction for inter-microservice communication, either by using
asynchronous message- and event-based communication, or by using (asynchronous) HTTP polling
independently of the original HTTP request/response cycle.
The use of asynchronous communication is explained with additional details later in this guide in the
sections
Asynchronous microservice integration enforces microservice’s autonomy
and
Asynchronous
message-based communication
.
Dostları ilə paylaş: