outbox-pattern

Installation
SKILL.md

Outbox Pattern ()

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

Quick Reference

Outbox Table Schema

CREATE TABLE outbox (
Related skills

More from yonatangross/orchestkit

Installs
12
GitHub Stars
170
First Seen
Jan 22, 2026