(Wikipedia)
1: Buy goods
Marketplace
Brandon Group
2: Sales Order
3: Purchase Order
4: Confirmation
5: Ship goods
6: Shipment order
7: Ship goods
7: Tracking info
8: Update Order
Customer
Supplier
Logistic partner
A sequence of steps, each of which is a local transaction in a microservice
The gold saint in the constellation of Gemini
Allows to rollback single steps of the saga
Prevents unsupported state transitions from happening by using a state machine
Choreography | Orchestration |
---|---|
Loose coupling | Tight coupling |
One format for events | Different formats for events |
Fully decentralized | Orchestrator as a possible bottleneck |
Business process split on different applications | Business process handled almost totally by the orchestrator |
Marketplace
Customer
Supplier
Logistic partner
Karl
Markus
Jimbo
Bridget