Microservices with Docker on Microsoft Azure™ (includes Content Update Program)
by Boris Scholl, Trent Swanson, Daniel Fernandez
Fault Isolation
In a monolithic application, a memory leak in one component, or even a third-party library, can affect the entire application and be hard to track down.
One of the benefits of a microservices architecture is the isolation of components or features. If one service crashes, it’s quite possible the rest of the application can continue to operate until that service recovers. This of course assumes the service is implemented to handle the faults. Also, if one service is suffering from growing memory pressure due to a leak, it can be much easier to identify the service causing the issue. We might still be able to handle requests for the application even though one of its services is down. As depicted in Figure 1.4, even though one service ...
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