Learning to Fall
Offered By: Devoxx via YouTube
Course Description
Overview
Syllabus
Intro
Remember the monolith?
Micro services
The journey
Car rental co.
Travel agency
Travel packages
Separate databases Multiple services
Fire and forget
Manual failure recovery
Let's automate recovery
Brute force
Distributed transactions?
2-phase commit
Scalability issues
Single point of failure
Enlightenment
What if we didn't stick to ACID?
The saga pattern
Original purpose
Definition: Saga
Sequence of actions
Idempotent compensating action
Definition: Idempotent
Happy path
The Saga guarantee
Atomicity vs Availability
Digging deeper
SEC Saga Execution Coordinator
Saga log
When to undo?
Forward recovery
Periodically retry
Each action needs a unique ID
Conclusion
Saga helps you think of the error case
Think of compensating actions
Think of idempotent actions
Taught by
Devoxx
Related Courses
MongoDB for DBAsMongoDB University MongoDB Advanced Deployment and Operations
MongoDB University Building Cloud Apps with Microsoft Azure - Part 3
Microsoft via edX Implementing Microsoft Windows Server Disks and Volumes
Microsoft via edX Cloud Computing and Distributed Systems
Indian Institute of Technology Patna via Swayam