Compare orchestration and choreography for a saga.
Sketch your own answer first, then compare it with the one below.
A strong answer
With orchestration, one coordinator sends a command to each service, waits for the reply and decides what comes next. The flow is in one place, so it is easy to read, test and resume. The cost is an extra component and more messages, and the coordinator must be durable.
With choreography, each service does its step and publishes an event, and the next service reacts. There is no central owner, and services are loosely coupled. The cost is that the flow lives across many subscribers. It is hard to see where a saga is, and cycles of events are easy to create.
A fair rule is choreography for a few steps, orchestration once the flow has branches or many services.
Sources
- Chris Richardson (2018). Pattern: Saga.
- Hector Garcia-Molina, Kenneth Salem (1987). Sagas.