Search This Blog

Tuesday, 1 August 2017

Cloud Design Patterns: Compensating Transaction

  • Undo the work performed by a series of steps, which together define an eventually consistent operation, if one or more of the operations fails.
  • Operations that follow the eventual consistency model are commonly found in cloud-hosted applications that implement complex business processes and workflows.

When to use

  • Use this pattern only for operations that must be undone if they fail. If possible, design solutions to avoid the complexity of requiring compensating transactions.

No comments:

Post a Comment

Creating a NuGet Package Feed to Host Artifacts

Step-by-Step Guide: Creating a NuGet Package Feed to Host Artifacts 🔹 Step 1: Create a C# Class Library and Generate NuG...

Recent Post