INTERMEDIATE · 8 MODULES · 64 LESSONS
Legacy Modernization and Migration
Modernize a legacy system without rewriting it from scratch: protect it with tests, migrate piece by piece without stopping the business, and measure when the migration is really done.
- For you if
- You inherited a monolith with no tests that's scary to touch, and the business can't stop.
- By the end
- You'll know how to apply strangler fig and branch by abstraction, extract a service, and migrate data with zero downtime.
- You need
- Experience with backend services in production, basic unit testing, and Python for the simulations.

Curriculum
02Entender y fijar el legacy
- Module introduction: understand and pin the legacy
- Working with code that scares you and has no tests
- The characterization test: pin what it does TODAY
- Finding the seam
- Characterizing by sampling and the golden master
- When the legacy does something weird (and someone depends on it)
- Read and characterize before you change
- Mini-project: pin Mercado's catalog pricing
03El patrón strangler fig
- Module introduction: the strangler fig pattern
- The facade in front of the legacy
- Building the new service alongside
- Diverting traffic by percentage
- Ways of diverting: by route, by percentage, by flag
- Fallback and observing both routes
- The final cutover and retiring the legacy
- Project: put Mercado's catalog behind a strangler facade
04Branch by abstraction
- Module introduction: branch by abstraction
- The abstraction layer as a seam
- Building the modern implementation behind the abstraction
- The feature flag as the switch point
- Parallel-run to prove the swap is safe
- Deleting the old implementation
- Without a long-lived branch: avoiding merge hell
- Project: modernize Mercado's ShippingCalculator
06Migrar datos sin downtime
- Module introduction: migrating data without downtime
- Expand-contract: never a destructive change all at once
- Dual-write: writing to both stores
- Backfill: loading the historical data
- Parallel-run: comparing both stores
- Reconciling the discrepancies
- The read-switch and turning off the dual-write
- Project: migrate Mercado's catalog data without downtime
07Medir el progreso de la migración
- Module introduction: measuring the migration's progress
- Measure the result, not the effort
- The legacy-call burn-down
- The migration fitness function
- Keeping the legacy from growing back
- Defining "done": when the legacy gets deleted
- Avoiding the eternal migration
- Project: measure and finish the Mercado migration
08Proyecto — modernizar una rebanada de Mercado
Reviews
What students say
These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.
No approved reviews yet.
Be the first to share your experience!