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:

Microservices

Here is a short description for each benefits:

  1. 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.
  2. Productive Development Teams – smaller teams working on smaller codebases tend to be more productive
  3. 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.
  4. Optimized Scaling – scale those services only which need scaling
  5. Resilience and fault-tolerance – If one component of a system fails, the rest of the system can carry on working
  6. Reusability – your service could be consumed in different ways for different purposes.
  7. 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

  1. Building Microservices by Sam Newman