Alternative Strategies

In this lesson, we'll study a few alternative migration strategies.

There are many more migration strategies. There is a presentation that gives a good overview of the different approaches to the migration to microservices. Let’s go over some of the most common approaches.

Goal: reliability #

As mentioned previously, there can be very divergent approaches for the migration to microservices. The strategy depends mainly on the objectives to be achieved.

When the main objective for switching to microservices is an increase in robustness, at first, reliability can be improved at the interfaces to external systems or databases with libraries like Hystrix and Resilience4j.

Then, the system can be split step by step into individual microservices that run independently of each other so that a failure of one microservice no longer affects the other microservices. There is an interesting talk about this approach to which slides are available.

Get hands-on with 1200+ tech skills courses.