The Runtime Theory
Software ArchitectureIn production

The Strangler Fig Pattern

Recording in progress
#strangler-fig#legacy#migration#patterns

The big-bang rewrite fails because it flips the whole system at once. The strangler fig does the opposite: it grows the new system around the old one, feature by feature, with a router sending some traffic to each. This video shows the mechanics — the routing layer, feature-by-feature replacement, and the cutover criteria that make it safe.

Topics covered:

  • Why rewrites fail: no incremental value and no rollback
  • The strangler pattern: new system grows alongside, old system shrinks
  • The router as the keystone: path-based or header-based routing to either system
  • Strangling by feature: replacing vertical slices
  • Keeping both systems live: the dual-write and comparison-check dilemma
  • Cutover: traffic shifting, shadow traffic, and the kill switch
  • Data migration: mapping old state to new models
  • When strangling is overkill: small codebases that are faster to replace outright

Related articles

More in Software Architecture

In production
software architecture

Domain-Driven Design Basics

The core of DDD without the ceremony — ubiquitous language, bounded contexts, aggregates, and where the model boundary actually goes.

Details
In production
software architecture

Service Mesh Explained

What a service mesh actually does — sidecars, mTLS, traffic routing, and observability — and the network plumbing it takes off your plate.

Details
In production
software architecture

Feature Flags in Practice

How feature flags work end to end — evaluation at runtime, kill switches, and canary rollouts — plus the operational discipline they demand.

Details
In production
software architecture

The Saga Pattern Explained

How distributed transactions work without distributed locks — saga steps, compensating actions, and the orchestration vs. choreography split.

Details
In production
software architecture

CQRS Explained

Command query responsibility segregation — separate read and write models, why they diverge, and what you actually gain from the split.

Details
In production
software architecture

API Gateway Patterns

What an API gateway actually does — routing, auth, rate limiting, and aggregation — and which patterns matter for your traffic.

Details
In production
software architecture

Hexagonal Architecture, Visualized

Ports and adapters in one diagram — how hexagonal architecture keeps business logic independent of databases, HTTP, and everything external.

Details
In production
software architecture

Event-Driven Architecture Explained

How event-driven systems work — events, topics, and consumers — and what the broker actually guarantees in a distributed system.

Details
In production
software architecture

Microservices vs. Monolith

The honest engineering comparison — deployment boundaries, data ownership, failure domains, and the real costs of splitting a system.

Details

Depth, delivered weekly

One technical dispatch a week — articles and episode notes before they go public.

One technical dispatch per week. No noise.