Completed
2-phase commit
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Learning to Fall
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Remember the monolith?
- 3 Micro services
- 4 The journey
- 5 Car rental co.
- 6 Travel agency
- 7 Travel packages
- 8 Separate databases Multiple services
- 9 Fire and forget
- 10 Manual failure recovery
- 11 Let's automate recovery
- 12 Brute force
- 13 Distributed transactions?
- 14 2-phase commit
- 15 Scalability issues
- 16 Single point of failure
- 17 Enlightenment
- 18 What if we didn't stick to ACID?
- 19 The saga pattern
- 20 Original purpose
- 21 Definition: Saga
- 22 Sequence of actions
- 23 Idempotent compensating action
- 24 Definition: Idempotent
- 25 Happy path
- 26 The Saga guarantee
- 27 Atomicity vs Availability
- 28 Digging deeper
- 29 SEC Saga Execution Coordinator
- 30 Saga log
- 31 When to undo?
- 32 Forward recovery
- 33 Periodically retry
- 34 Each action needs a unique ID
- 35 Conclusion
- 36 Saga helps you think of the error case
- 37 Think of compensating actions
- 38 Think of idempotent actions