Example

In this lesson, we'll continue to study the details of the example we just saw.

Here’s the illustration of the example again:

Consistency #

The architecture of this system ensures that all microservices display the same information about a product or order at all times because they use synchronous calls to access the respective microservices in which the data is stored.

There is only one place where each piece of the data is stored. Every microservice uses that data and therefore shows the latest data.

Disadvantages #

However, this architecture also has disadvantages:

  • Centralized data storage can lead to problems because the data for displaying the catalog is completely different from that needed for the order process.

  • The customer’s purchasing behavior is important for the catalog in order to display the correct products. ...