Pattern name
Public workshops:
- Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow JNation, May - Coimbra, Portugal Learn more
- Designing microservices: responsibilities, APIs and collaborations DDD EU, June 2-3, Antwerp, Belgium Learn more
Contact me for information about consulting and training at your company.
Also known as
Context
Forces
Problem
How to structure transactions in a modular monolith?
Solution
Implement an operation that spans multiple modules as multiple transactions, one per module
Variation
Resulting context
Benefits
Ensures that the modules are loosely coupled. From what perspective?
Easier to refactor the monolith into microservices
Drawbacks
Potential complexity of eventual consistency since multi-module commands must be implemented using the Saga pattern.