Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sagas with Step Functions

Yos Riady
October 19, 2017

Sagas with Step Functions

In distributed systems, business transactions spanning multiple services require a mechanism to ensure data consistency across services. The Saga pattern is a pattern for managing failures, where each action has a compensating action for rollback. In this talk, learn how you can use AWS Step Functions to create state machines for your Lambda functions and apply the saga pattern to serverless.

Yos Riady

October 19, 2017
Tweet

More Decks by Yos Riady

Other Decks in Programming

Transcript

  1. { "Comment": "Hello World example", "StartAt": "HelloWorld", "States": { "HelloWorld":

    { "Type": "Task",the "Resource": "<lambdaARN>", "End": true } } }