Implement a durable work queue in Postgres
How to implement common queue and messaging patterns in Postgres: competing consumers, transactional outbox, idempotent handlers, leases, and dead letters.
How to implement common queue and messaging patterns in Postgres: competing consumers, transactional outbox, idempotent handlers, leases, and dead letters.
Minimal Postgres claim loop: enqueue, SKIP LOCKED claim, complete, and handler retry with an interactive simulation.
Leases, lease cleanup, at-least-once delivery, and handler idempotency for Postgres inbox workers.
Multi-worker contention, delivery guarantees, and per-key ordering before consistent hash.
Consistent hash, heartbeats, rebalance windows, and multi-worker simulation with ring ownership.
Lease renewal, fencing, graceful drain, and housekeeping for Postgres-backed durable work after order:9182 ships.
Full Postgres schema, inbox SQL, observability, testing, and schema evolution for order:9182.
Claim-path tuning, indexes, and an interactive performance tuner for Postgres claim loops.
Theme lab
⌘/Ctrl⇧. to toggle