When do microservices help?
The answer to this question requires us to understand the roles microservices play in modern software architectures. We will look at this in the following two subsections:
- Layered architectures and microservices
- When is it worth considering microservice architectures?
Let's start with a detailed look at layered architectures and microservices.
Layered architectures and microservices
Enterprise systems are usually organized in logical independent layers. The first layer is the one that interacts with the user and is called the presentation layer, while the last layer takes care of storing/retrieving data and is called the data layer. Requests originate in the presentation layer and pass through all the layers until they reach the data layer, and then come back, traversing all the layers in reverse until they reach the presentation layer, which takes care of presenting the results to the user/client. Layers can&apos...