ddd-patterns
Installation
SKILL.md
Domain-Driven Design (DDD): Advanced Patterns
Advanced integration patterns for handling complex distributed system interactions, data consistency, and cross-boundary communication. Use these patterns when a single Bounded Context's tactical patterns are insufficient.
"Distributed systems are different. If we don't know that, we are building them wrong." β Udi Dahan
π§ When to Use Advanced Patterns
| Situation | Pattern(s) | Complexity |
|---|---|---|
| Read model needs different shape than write model | CQRS | Medium |
| Need full audit trail of all state changes | Event Sourcing | High |
| Need atomic DB + message broker consistency | Outbox | Medium |
| Long-running business process across contexts | Saga | High |
| External system has incompatible model | ACL | Medium |
| High read load, simple queries | CQRS + Read Model | Medium |