~/talk

A Different Flavor of the Distributed Transactions

Talkat Devoxx Poland 2022 · 2022-06-22..06-24· [distributed-systems, databases]
slides:none on file

Compares 2PC’s locking and coordinator failure problem to the Saga approach, using MicroProfile LRA 2.0 and a Quarkus + Narayana implementation; demos a trip workflow (flight → hotel → car) with services on ports 8081/8082, a Docker LRA coordinator, propagated LRA context headers, and invoked compensation handlers when a participant returns 500. Shows how to declare lra/compensate/complete endpoints, set a 1s timeout, and that the coordinator retries failed compensations until eventual consistency is achieved; the demo runs and compensations are triggered as expected.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:48Understanding ACID
  3. 3:222PC protocol limitations
  4. 6:06Introducing the saga pattern
  5. 7:38Saga failure scenarios
  6. 12:06BASE consistency model
  7. 13:48Orchestration vs choreography
  8. 16:48Setting up the development environment
  9. 21:59Coding the flight service
  10. 26:50Implementing compensation and completion
  11. 29:35Managing saga identification
  12. 32:26Building microservices communication
  13. 37:05Advanced configurations and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.