The Strangler Fig Migration Pattern

Diana Darie
5 min readFeb 12, 2020

This is part of a series of Monolith to Microservices Migration Patterns.

Courtesy of David Clode on Unsplash

This is one of my last articles on medium. If you’d like to keep in touch you can find me at https://blog.theengineeringcompass.com/

Microservices have been getting more and more popular in recent years, and several companies are migrating monolithic applications to microservices. But just a reminder that switching to microservices might not always be the good option. Martin Fowler wrote a nice article regarding the monolith-first approach. Here are a couple of useful statements:

  • Almost all the successful microservice stories have started with a monolith that grew too big and was broken up.
  • Almost all the cases I’ve heard of a system that was built as a microservice system from scratch, it has ended up in serious trouble.

A migration technique that has been frequently used when doing system rewrites is called the Strangler Fig Application. This migration method is based on incrementally replacing existing functionalities of the old legacy system with new applications and services in a phased approach until the new application system eventually replaces all of the old legacy system’s features.

The name of this type of tree, the Strangler Fig, comes from their pattern of growth around…

--

--

Responses (1)