Network Congestion and Latency

In our monolithic application, when a request comes in, it’s processed by some instance of the application and a response is sent. Libraries are deployed with the application and calls to these libraries are fast and in-process. The application can make a small number of requests to a database or other services.

In the case of a microservices architecture, a single request to the application can result in multiple requests to a number of services. Each of the services could be making requests on their databases, caches, and other services. This I/O explosion can have a negative impact on the performance of an application and as a result optimizations in network communication becomes important. As shown in Figure ...

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) 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.