outbox-pattern
Installation
SKILL.md
Outbox Pattern (2026)
Ensure atomic state changes and event publishing by writing both to a database transaction, then publishing asynchronously.
Overview
- Ensuring database writes and event publishing are atomic
- Building reliable event-driven microservices
- Implementing exactly-once message delivery semantics
- Avoiding dual-write problems (DB + message broker)
- Decoupling domain logic from message infrastructure
- High-throughput systems needing CDC-based publishing