Building event-driven, reactive applications with Temporal: Workflows vs Sagas
summary
Temporal claims that using workflows for long-lived coordination is easier to reason about and evolve than building sagas on an event mesh. Using the Amazon Dash button ordering example, reordering steps or adding email notifications forces event-driven services to be rewired across inventory, payment and shipping, while a Temporal workflow only changes sequence or compensation logic. Temporal offers child workflows and signals, built-in retries and deterministic state (no manual saga state machine), simplifying compensation and long‑lived coordination compared to ad hoc choreography.
AI-written summary · about
chapters (13)
- 0:00Introduction to event-driven apps
- 1:09From monolith to microservices
- 10:01Orchestration vs choreography
- 22:53Amazon Dash button demo
- 31:23Business process changes impact
- 36:41Adding email notifications
- 40:12Workflow vs saga showdown
- 43:03Q&A on event complexity
- 45:11When choreography excels
- 47:18Event grouping strategies
- 50:28Compensation in sagas
- 53:15Parallel execution trade-offs
- 55:01Closing remarks
