strangler fig pattern
Replacing an old system gradually by routing one piece at a time to new code behind a facade.
In more detail
Each step is reversible: if an endpoint cannot be routed back to the monolith quickly, the cut is in the wrong place. Write the contract first.
Related terms
- facade — A layer placed in front of a system that offers one interface and routes each request to the right implementation.
- monolith — An application built and deployed as a single unit, usually with one database.
- microservice — A small, independently deployed service that owns one business capability, such as billing or notifications.
Taught in
- Monolith Versus Services: The Honest Trade Offs — Scalable System Design & Distributed Architecture