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

Elasticsearch - Nodes, clusters, and shards

Elastic Stack Video - Load your gun in short time.   Beginner's Crash Course to Ela...

Recent Post