Category: Books review
Benefits of Microservices. Review of Building Microservices.
A few weeks ago I came across an awesome book “Building Microservices” by Sam Newman. Author covers a lot of useful topics about microservices such as testing, deployment, monitoring etc. So, I decided to write my review for the most interesting parts for me.
Background
In the first part author describes what are microservices and advantages of using microservices-based architecture comparing to monolithic application.
Solution
Author defines 7 most important benefits of using microservices, which I’d like to split into 3 different groups such as benefits for development, for delivery the product and extra benefits:
Here is a short description for each benefits:
- Technology Diversity OR pick the right tool for each job. If one part of our system needs to improve its performance, we might decide to use a different technology stack that is better able to achieve the performance levels required.
- Productive Development Teams – smaller teams working on smaller codebases tend to be more productive
- Fast and Simple Deployment – make a change to a single service and deploy it independently of the rest of the system. As a result we can get our new functionality out to customers faster.
- Optimized Scaling – scale those services only which need scaling
- Resilience and fault-tolerance – If one component of a system fails, the rest of the system can carry on working
- Reusability – your service could be consumed in different ways for different purposes.
- Replaceability OR forget the phrase “it’s too big and risky a job”. It’s much easier to replace small services with a better implementation.
Useful Links
- Building Microservices by Sam Newman