~/talk

Transactional and Data Integrity in Microservices Systems – Do We Need a Two-Phase Commit?

links:none on file
slides:none on file

Argues that two‑phase commit is unnecessary for most microservice systems and shows two practical alternatives: optimistic concurrency with a shared database solves transactional integrity when a bounded context maps to a single large aggregate, while event sourcing with Kafka and consumer groups handles cross‑service flows and eventual consistency. Gives concrete tradeoffs: large aggregates keep strong consistency but cause contention and failed user updates; small aggregates plus Kafka remove coupling, require ordering and idempotent handlers, and replace atomic commits with reliable event streams.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:49Pain points of legacy systems
  3. 8:43Two-phase commit in SOA
  4. 13:41Expecting failure in microservices
  5. 15:25Domain driven design basics
  6. 23:42Aggregate models in microservices
  7. 27:15Optimistic concurrency approach
  8. 27:59Event sourcing with Kafka
  9. 35:00Summary 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.