Strangler Fig Read-Only Migration with Debezium CDC

Prerequisite: Familiarity with the concepts introduced in Part 5 — Eav Schema Migration. Review it first if the terminology in this part is unfamiliar. Phase 1 is the safest phase of the migration — by design. No write operation touches the new microservices. Magento remains the source of truth for all data modifications. The only thing Phase 1 does is prove that your microservices can serve reads faster and more reliably than Magento. ...

May 13, 2026 · 13 min · Lê Tuấn Anh

Magento Migration: Shared DB, CDC, or Event Bus?

Magento Migration: Shared DB, CDC, or Event Bus? Why Go running against Magento’s MySQL is faster at the compute layer but still bottlenecked at the EAV query layer — and what actually fixes it. The single deciding factor between CDC (Option B) and Event Bus (Option C): who owns the PHP Magento codebase. This post is part of the Composable Commerce Migration series — a step-by-step playbook for migrating Magento 2 to Go microservices. For the full migration execution guide, see Part 6: Phase 1 Strangler Fig. ...

July 18, 2026 · 14 min · Lê Tuấn Anh

Microservices to Monolith Migration: Strangler Fig

Answer-first: Consolidating fragmented microservices back into a modular monolith utilizes the Reverse Strangler Fig pattern with dual-writing and zero-downtime database schema mergers. Merging database schemas using logical schema separation (PostgreSQL schemas) preserves strict module autonomy while eliminating distributed transaction complexity. Prerequisite: Before reading this part, please review Part 5: Observability in Memory. What You’ll Learn: Database Consolidation Math: How to merge connection pools to optimize database RAM utilization. Transactional Outbox Implementations: The SQL schema design for safe event auditing during migrations. Canary Merging Safety: Running dual-writes for 14 days to audit state reconciliation before switching readers. Breaking a monolith into multiple microservices is known as the Strangler Fig Pattern. Consolidating distributed microservices back into a central modular monolith system follows the opposite direction: the Reverse Strangler Fig Pattern. ...

July 3, 2026 · 8 min · Lê Tuấn Anh