---
answer: direct
beat: system-design
source: 1 article · updated: November 14, 2026
---

What problem does the transactional outbox solve?

Writing to your database and publishing a message are two separate operations, so a crash between them loses the event or publishes one for data that was never saved. The outbox writes the event to a table in the same local transaction, and a relay publishes it afterwards.

Answered in

Microservices Data Patterns: Database per Service, Saga, Outbox and CQRS

Once each service owns its data, transactions and queries break. Four patterns that put them back, with the failure each one prevents and the cost it adds.

Crashtech Editorial November 14, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.