Performance
Actually, there can be reasons for microservices to run faster if one completely independent microservice is being used by the client. A clear reason is that a request has to go through less stuff in one small micro-service than passing through a big monolithic application.
However, this is an ideal case and not all microservices are completely independent of each other. They interact with each other and depend on each other. So, if one service has to get something from another one, it will most probably need a network call, and network calls are expensive. This results in performance problems. However, this can be minimized if services are created in a way where dependency is minimal. If dependency is not minimal, that means ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access