In this section, we'll look at microservices from a conceptual perspective. When we need a new feature for a project, there's a temptation to just add it to the project's main program and continue on from there. Sometimes, that's entirely appropriate, but in many cases, it's actually better to make the feature a distinct program in its own right.
Microservices and the advantages of process isolation
Advantages of the microservice architecture
There are several reasons why a feature might be better off when less tightly integrated into the system. The most important ones are flexibility, scalability, and durability.
Understanding the flexibility benefit is easy. Modular programs inherently consist of...