Home / Companies / Temporal / Blog / Post Details
Content Deep Dive

Compensating Actions, Part of a Complete Breakfast with Sagas

Blog post from Temporal

Post Details
Company
Date Published
Author
Emily Fortuna
Word Count
1,599
Company Posts That Month
11
Language
English
Hacker News Points
7
Post removed?
No
Summary

The compensating action pattern is a design pattern for handling failure amongst distributed but related services. It provides transaction-like guarantees for a sequence of operations in distributed systems by either letting the sequence run successfully to completion or undoing state changes made by executed operations if there's a failure. This sequence of steps is called a "long-running transaction". Compensating actions are an important component of the saga design pattern, which ensures that there is a way to "go backwards" (undo) and end up with a consistent state in case of failure.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.