Paying attention to the communication layer

Since the chained design pattern uses direct communication, it is important to try to reduce the latency generated by this type of communication as much as possible. It is noteworthy that while the communication chain and the microservices are being processed, the application consumer is waiting for the response to the request.

To reduce the amount of latency with respect to direct communication between microservices, it is recommended you use binary protocol tools or execute tunings in the protocol being used.

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.