July 2019
Intermediate to advanced
410 pages
10h 32m
English
Isolated state includes both data and other resources that could be shared including databases and files. This is also a distinguishing feature of microservice architecture. By having an independent state, we are reducing the chance that a change in the data model to support one service will impact other services.
The following diagram illustrates a more traditional SOA approach, where a single database is used by multiple services:

By requiring a microservice to have an isolated state, we would then require a database per service as shown in the following diagram:
This has an advantage in that each service can choose the technology ...
Read now
Unlock full access