Although microservices have the word micro in their name, they are actually pretty heavy compared to applications from the 1990s or early 2000s. They use full stack HTTP/SSL servers and contain entire MVC layers.
The microservices design has the following advantages:
- Stateless: They don't store user sessions to the system, which helps to scale the application.
- No shared data store: Microservices should have their own data stores, such as databases. They shouldn't share these with other applications. They help to encapsulate the backend database so that it is easier to refactor and update the database scheme within a single microservice.
- Versioning and compatibility: Microservices may change and update the API, but they should ...