Building Event-Driven Microservices - Chapter 8 - Building Workflows with Microservices
There are two patterns of building event-driven microservices:
- Choreography (without centralized coordination)
- Orchestration (with centralized coordination)
Both have pros and cons (however what I’ve learnt is that Orchestration is a better pattern)
How to implement Distributed Transactions with Choreography and with Orchestration.
How to AVOID implementing Distributed Transactions - a Compensation Workflows approach.
All of these is disclosed in the Chapter 8 of the book we are currently studying:
“Building Event-Driven Microservices: Leveraging Organizational Data at Scale” by Adam Bellemare