Integrating Bounded Contexts
summary
Advocates integrating bounded contexts with messaging so services remain autonomous rather than temporally coupled; uses publish-subscribe with durable queues (RabbitMQ, Azure Service Bus) so one service can go down without blocking others. Distinguishes commands vs events (commands target one service and can fail, events are immutable facts published after the fact). Recommends event storming to discover event names and policies, and keeping local copies of needed data (e.g., loyalty status) to make rebooking decisions independently.
AI-written summary · about
chapters (9)
- 0:00Introduction with caffeine analogy
- 3:11Problem with synchronous coupling
- 6:20Event-driven Starbucks solution
- 9:27Commands vs events explained
- 12:57Importance of domain collaboration
- 16:09Event storming and naming events
- 18:16Business process with messages
- 20:45Autonomy through local data
- 21:29Key takeaways and closing
