Pattern: Strangler application
pattern application architecture refactoring to microservices microservices adoptionContext
Problem
How do you migrate a legacy monolithic application to a microservice architecture?
Forces
Solution
Modernize an application by incrementally developing a new (strangler) application around the legacy application. In this scenario, the strangler application has a microservice architecture.
The strangler application consists of two types of services. First, there are services that implement functionality that previously resided in the monolith. Second, there are services that implement new features. The latter are particularly useful since they demonstrate to the business the value of using microservices.
Examples
Resulting context
Related patterns
Learn more
- Refactoring example
- Chapter 13 of my book describes how to refactor a monolith to microservices