A different flavor of the distributed transaction
summary
Demonstrates a MicroProfile spec called Long Running Actions (LRA) that implements the saga pattern for non-blocking distributed transactions in Java microservices, using Narayana (and mentions Payara) with Quarkus, JAX‑RS and REST clients. Shows two services that propagate an LRA ID, invoke operations, and on failure trigger compensating endpoints; compensation and completion callbacks work in the demo, recovery retries are issued by the coordinator until a decision, and a manual start/close flow is implemented and exercised.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:43Asset Transaction
- 2:30Consensus Protocols
- 7:07Saga
- 9:19Saga Example
- 12:42Availability vs Consistency
- 14:41Centralization and Orchestration
- 15:32Profile Specification
- 16:14Rest invocation
- 21:01Starting the project
- 39:28Restriction
- 39:43REST Client
- 43:33Service Propagation
- 45:38AfterLarray
- 47:23Built
- 47:53Not closing
- 50:13Conclusion
related talks
31mAddressing the transaction challenge in a cloud-native world
50mTransactional solutions for microservices
46mAddressing the transaction challenge in a cloud-native world
41mTransactions in Your Micro-Services Architecture
47mMicroservices Architecture and Data Consistency: So How Do We Do It for Real?
55mTackling transactions in Microservices applications
17mSaga Pattern for Distributed Transactions
46mLost in transaction? Strategies to deal with (in-)consistency in distributed systems
