When to use microservice architecture
We have covered the benefits and common issues of microservices, providing a good overview of the applicability of using the microservice architecture model in an application. Let’s summarize the key points of using the microservice model, which are the following:
- Don’t introduce microservices too early: Don’t use the microservice architecture too early if the product is loosely defined or could go through significant changes. Even when developers know the exact purpose of the system, there are high chances of various changes in the early stages of the development process. Starting from a monolithic application – and splitting it over time once there are clearly defined business capabilities and boundaries – helps reduce the amount of work and establish the right interfaces between the components.
- No size fits all: Each company is unique and the final decision should depend on many factors, including...