Stop Joining Tables In Your “Modular” Monolith
Why It Matters
Hidden data-layer coupling erodes modular architecture, increasing maintenance risk and hampering evolution; aligning data models to business functions reduces cross-module dependencies and preserves agility.
Summary
The video warns that joining tables across modules in a modular monolith hides dangerous coupling at the database level. While a simple SQL join between sales and warehouse seems convenient, it creates implicit dependencies that undermine module boundaries and make future schema changes risky. Using APIs can expose and manage those dependencies better, but still couples services in different ways and adds migration overhead. The speaker argues teams should instead question the actual business requirement—e.g., use an Available-to-Promise function rather than raw inventory counts—to keep responsibilities and data ownership aligned within module boundaries.
Comments
Want to join the conversation?
Loading comments...