Temporal Unscripted: Compensating Transactions (part of Saga Pattern) in Java

preview_player
Показать описание
When something goes wrong between your microservices, how do you make it look like it never happened? The Saga Design Pattern is everywhere, and one important piece of it is writing compensating actions, a design pattern in itself! Emily Fortuna and Andrew Fitz Gibbon (Fitz) discuss and live code through implementing compensating actions in a Temporal Workflow using Java.

For more on the saga pattern and compensating actions pattern, see:

00:00 Intro
00:34 Why Compensating Actions are useful and necessary
01:56 What makes up Temporal
02:56 Live coding starts
03:59 When *wouldn't* you compensate
05:41 Guest cat appearance
05:51 Why put compensations *before* the action
11:22 Run the code
12:37 Test failures and compensations
14:05 Parallel compensations
---

Temporal is the simple, scalable, open source way to write and run reliable cloud applications.

Learn more

Developer resources
Рекомендации по теме
Комментарии
Автор

Would love to see more demos in typescript!

JohnMcclaned
Автор

What if your compensating actions themselves fail? 😬

stephenmorse
visit shbcf.ru