Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keine Transaktionen – und jetzt? Eventual Consi...

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Keine Transaktionen – und jetzt? Eventual Consistency mit MicroProfile LRA

Slides zum Talk auf dem JavaLand 2025 und im Expertenkreis Java

Dirk Weil

April 02, 2025

Transcript

11 slides
  1. gedoplan.de Dirk Weil • Studied Informatik at RWTH Aachen •

    Living in Bielefeld • CEO of GEDOPLAN GmbH • JEE since 1999 • Speaker and author GEDOPLAN • Software development, consulting, training since 1979 • Bielefeld and Berlin • Jakarta EE, Spring Boot, Angular, Kubernetes, … 2 Keine Transaktionen – und jetzt?
  2. gedoplan.de 3 Transactional Unit of Work Transactional Unit of Work

    Business Process TX Coordinator begin commit/rollback commit/rollback begin Keine Transaktionen – und jetzt?
  3. gedoplan.de Microservice Microservice Microservice Transactional Unit of Work Transactional Unit

    of Work Business Process No (remote) TX propagation ? 5 Keine Transaktionen – und jetzt?
  4. gedoplan.de gedoplan.de MP LRA 7 Standalone MicroProfile Telemetry Open API

    REST Client Config Fault Tolerance JWT Authentication Health Core Profile Open Tracing LRA Reactive Messaging GraphQL Reactive Streams Operators Context Propagation Metrics Keine Transaktionen – und jetzt?
  5. gedoplan.de MP LRA • REST • Service implementation: REST resource

    methods • Calling sub services: MP REST Client • LRA propagation via headers • Key elements • @LRA: LRA Life cycle control • @Compensate, @Complete: LRA participants • @AfterLRA: LRA listener 9 Keine Transaktionen – und jetzt?
  6. gedoplan.de Further Reading, Infos etc. • https://github.com/GEDOPLAN/mp-lra-demo.git • Demo project

    • https://speakerdeck.com/dirkweil • Slides • https://download.eclipse.org/microprofile/microprofile-lra-2.0/ • MP LRA project • https://de.wikipedia.org/wiki/Saga_(Entwurfsmuster) • Saga Pattern • https://gedoplan.de/ • Blog • Training • Consulting 11 Email Icon-Bilder: Stock-Fotos -Videos. | Adobe Stock dirk.weil@gedoplan linkedin.com/in/dirk-weil-49940683 Keine Transaktionen – und jetzt?

More Decks by Dirk Weil

Other Decks in Technology