Legacy modernization made practical: A live coding example of modernization patterns
summary
Modernizes a decade-old e‑commerce monolith by applying the strangulation pattern: insert an NGINX proxy, add Kafka, run Debezium CDC to stream table changes, and build a new User service (API + consumer) with its own DB on port 3333. CDC emits the user table’s three existing records as three messages, near‑real‑time sync updates the new DB after edits, and traffic for reads shifts to the new service without breaking purchases.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 5:27Legacy modernization overview
- 11:12Planning modernization strategy
- 17:18Decomposing legacy systems
- 20:11Strangulation pattern demo
- 24:29Data migration patterns
- 32:40Live demo setup
- 36:17Kafka and CDC integration
- 40:11User service implementation
- 42:20Traffic migration to new service
- 45:13Behavior verification approach
- 49:09Pricing service experiment
- 52:01Measuring modernization success
- 54:32Key takeaways and conclusion
related talks
43mBeyond Strangler Fig: Effective Patterns for Architectural Modernization
47mRefactor Without Breaking Everything: Anatomy of Incremental Modernization Patterns
24mModernise your monolith using strangler pattern
55mModernizing Legacy Code - While Not Bringing Down Prod
30mModernization: Taming the legacy and keeping the new house clean
48mContinuous Modernization
40mModernizing the Legacy
01h 00mHow to Make Better Modernization Decisions
