Strategic DDD
Find your bounded contexts before splitting microservices
Start with language, rules and dependencies, using a CRM example.
In a CRM, a member might mean a targetable audience member to marketing, a preference holder to consent management, or a delivery recipient to a messaging worker. List the decisions each area owns and note where the meaning of a term changes.
Draw model boundaries next. Campaigns determines who to target and when. Consent owns permission status. Delivery handles provider attempts and feedback. These boundaries clarify vocabulary and ownership of each model.
A context map records dependencies, contract owners and the direction of exchanges. For withdrawn consent, the contract must specify when the information is valid and how it reaches the dispatch worker.
You can test those boundaries in a modular monolith before introducing independent deployments. Forbidden dependencies between modules provide an observable signal. Separate deployment can follow when release cadence, load, or team autonomy warrants it.
All articles