Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Distributed transactions and the saga pattern
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
xstefank
March 01, 2018
Technology
460
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Distributed transactions and the saga pattern
Lasaris presentation 2018-03-01
xstefank
March 01, 2018
Other Decks in Technology
See All in Technology
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
130
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
650
パッチ更新でterraform initが落ちた日
grimoh
1
140
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
大型犬好きによるPugの紹介
yamanoku
1
160
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
専門領域のAIをどう評価するか
bengo4com
2
270
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Classmethod Company Deck
satoshi7
1
720
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
270
Featured
See All Featured
Navigating Team Friction
lara
192
16k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Product Roadmaps are Hard
iamctodd
55
13k
Into the Great Unknown - MozCon
thekraken
41
2.8k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
Transcript
DISTRIBUTED DISTRIBUTED DISTRIBUTED DISTRIBUTED DISTRIBUTED DISTRIBUTED TRANSACTIONS AND TRANSACTIONS AND
TRANSACTIONS AND TRANSACTIONS AND TRANSACTIONS AND TRANSACTIONS AND THE SAGA PATTERN THE SAGA PATTERN THE SAGA PATTERN THE SAGA PATTERN THE SAGA PATTERN THE SAGA PATTERN
MASTER THESIS Use of Transactions within a Reactive Microservices Environment
https://issues.jboss.org/browse/JBTM-2920
MICROSERVICES ARCHITECTURE
ACID TRANSACTION Atomicity Consistency Isolation Durability
DISTRIBUTED TRANSACTIONS Two phase commit protocol O(n^2) messages blocking coordinator
- single point of failure
SAGA PATTERN long lived transactions compensations eventual consistency Hector Garcia-Molina
and Kenneth Salem, Princeton Unversity, 1987
SAGA EXECUTIONS 2PC - T Saga success - T1, T2,
T3, … , Tn compensation - T1, T2, … , Tk, Ck, Ck-1, … , C1
EXAMPLE SAGA Success Failure / Compensation
TWO PHASE COMMIT PROTOCOL
SAGA PATTERN
SAGA INVESTIGATION EXAMPLE
SAGA IMPLEMENTATION INVESTIGATIONS Axon framework Eventuate.io Narayana LRA Eventuate Tram
blog post
LRA EXECUTOR MOTIVATION
LRA EXECUTOR EXTENSION proof of concept / prototype LRA de
nition asynchronicity and scalability recovery capabilities protocol/platform independent https://github.com/xstefank/lra-executor-extension
SAGAS long lived transactions distributed environment compensations and failure recovery
atomicity vs availability
QUESTIONS
THANK YOU FOR YOUR ATTENTION
[email protected]
@xstefank http://www.slideshare.net