Distributed

Transactional Outbox

Write the event as a row in the same transaction as the state change; a relay publishes it afterwards.

Why interviewers ask about it

Eliminates the dual-write problem. Publishing is at-least-once by construction, which is why consumers must be idempotent.

This term is part of the free System Design interview preparation module - browse the full glossary for every definition.