The microservice architecture

Monolithic applications--even those that are modularized--have a single deployable unit. The following figure shows an example of a monolithic application with three modules, module 1, 2, and 3. These modules can be a business capability that is part of the monolithic application. In a shopping application, one of the modules might be a product recommendation.

The following figure shows what the preceding monolith looks like when developed using microservice architecture:

A few important things to note are as follows: ...

Get Mastering Spring 5.0 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.