awesome-everything RU

transactional outbox

RU: transactional outbox

A pattern that solves the dual-write problem: instead of writing to a database and publishing to a message broker in separate steps, the service writes an event record to an OUTBOX table in the same local transaction as the business data. A separate relay process reads the outbox and publishes to the broker, guaranteeing at-least-once delivery without distributed transactions.

shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?