PostgreSQL as a queue
Four years running a parcel-tracking queue on one Postgres table — why I refused a broker, the lag SLO I defended, the fairness and autovacuum scars, and where it stops being a good idea.
Jun 8, 2026 · 20 min readFour years running a parcel-tracking queue on one Postgres table — why I refused a broker, the lag SLO I defended, the fairness and autovacuum scars, and where it stops being a good idea.
Jun 8, 2026 · 20 min readRefunds as an explicit, auditable state machine: row-locked over-refund prevention, idempotency done right, hostile webhooks, an incident that nearly double-paid 12k customers, and reconciling the settlement file because money is the error budget.
Apr 3, 2026 · 21 min read