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

Sagas with Step Functions

1b0ab2500efc1b91424fb49045312929?s=47 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.

1b0ab2500efc1b91424fb49045312929?s=128

Yos Riady

October 19, 2017
Tweet

Transcript

  1. None
  2. None
  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. 1987

  10. None
  11. None
  12. • ◦ BookHotel ◦ BookFlight • ◦ CancelHotel ◦ CancelFlight

  13. None
  14. None
  15. None
  16. None
  17. None
  18. • ◦

  19. • • ◦ • ◦

  20. • ◦ • • ◦

  21. None
  22. • ◦ ◦ ◦ ◦ ◦

  23. None
  24. None
  25. { "Comment": "Hello World example", "StartAt": "HelloWorld", "States": { "HelloWorld":

    { "Type": "Task",the "Resource": "<lambdaARN>", "End": true } } }
  26. None
  27. None
  28. None
  29. None
  30. None
  31. None
  32. None
  33. None
  34. • ◦ ◦ • ◦ ◦

  35. None
  36. None