Catalogue / dodo-2026-webhook-pipeline

Dodo Payments stops losing webhooks on deploys by capturing events with Postgres triggers and sending them through CDC, Kafka, Restate and Svix

Dodo Payments, 2026. Webhook delivery pipeline.

Organisation
Dodo Payments
Evidence
Reported from production
Source
Building Webhooks That Never Fail: Our Journey to 99.99%+ Delivery Reliability

Dodo Payments engineering blog, published 2026-01-21

Records

Failure#f1

Webhooks sent from in-process tasks vanish without trace when a deploy kills the pod mid-request

Decision#d1

Create webhook events with a database trigger in the same transaction as the state change, storing no payload

Decision#d2

Stream new events out of Postgres from the write-ahead log instead of polling the events table

Decision#d3

Put Kafka between change capture and the webhook processor as a buffer with replay

Decision#d4

Run webhook handling on a durable execution platform so retries and the idempotency key survive crashes

Decision#d5

Build the webhook payload from current data at delivery time and leave the final HTTP delivery to a vendor

Decision#d6

Replace in-process webhook sending with a five-layer pipeline in which every step is backed by durable storage

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.