The Strangler Fig

Replacing a legacy system without a Big Bang.

Theory

Martin Fowler's Strangler Fig pattern: build the new system around the old one, gradually rerouting traffic. Each route migrated is a step toward the legacy's eventual deletion — without ever stopping the world for a rewrite.

DDD pairs naturally: each new bounded context can take over one slice of the legacy's responsibilities at a time.

Reflect

Pick a legacy system you'd love to retire.

  • Which slice could you migrate first with the lowest risk?
  • What measurable proof would tell you the slice is fully migrated?

Marking as read tracks your progress through this lesson.