
10/7/2021
What this post added
This post elaborates on Temporal's Durable Execution model by contrasting orchestration with choreography, highlighting how Temporal enables developers to write fault-tolerant code that is guaranteed to finish execution. It details how Temporal handles long-running tasks, sleep calls, and process failures by persisting and replaying workflow state. The post also introduces the concept of 'fault-oblivious programming' where applications are not even aware that a fault has occurred. It further explains the role of Task Queues with infinite retries, exponential backoff, and heartbeating for long-running tasks, as well as the ability to maintain local state within workflows. The discussion includes a customer example of a loyalty program implementation and emphasizes the benefits of redesigning applications end-to-end for Temporal adoption to achieve significant improvements in simplification and code reduction. The importance of durability and statefulness for applications is also stressed, suggesting Temporal as a solution for managing complexity beyond traditional databases and queues.