Главная
Study mode:
on
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
Description:
Discover how to build resilient microservices in this 39-minute Devoxx conference talk by Rafael Ordog. Learn from the journey of transforming an unreliable monolith into a robust set of microservices, focusing on graceful failure handling when dependencies are down. Explore bad practices, motivations for good practices, and useful patterns for creating resilient systems. Delve into topics such as distributed transactions, the saga pattern, and saga execution coordinators. Gain insights on achieving atomicity and availability, implementing compensating actions, and designing idempotent operations. Walk away with practical knowledge on how to think about error cases and build more robust microservice architectures.

Learning to Fall

Devoxx
Add to list
0:00 / 0:00