~/talk

Atomicity and Consistency Across Databases and Messaging Systems

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [microservices, distributed-systems]
links:none on file
slides:none on file

Explains a concrete implementation: write events into an outbox table in the same DB transaction, run a scheduled sender that polls and publishes to brokers (Kafka, RabbitMQ, ActiveMQ), and mark events sent; this guarantees DB-and-queue atomicity but allows duplicates and delivery delay. Describes an emergency drop variant where the app tries to publish after commit and the job is a fallback (claims ~99.9% native sends). Recommends idempotency on receiver; treats distributed transactions discouraged for scalable cloud systems.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:30Problem of atomicity in databases
  3. 5:49Classical outbox pattern explained
  4. 14:13Emergency drop variation
  5. 24:05Pros and cons comparison
  6. 24:46When to use outbox pattern
  7. 25:52Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.