A queue creates breathing room
The webhook project separates acceptance from delivery with Redis and Go workers. This lets the application accept work without waiting for every external destination. It also introduces a responsibility: queued work needs a lifecycle that operators can understand.
Backoff changes the shape of failure
Immediate retries can amplify an outage. Exponential backoff spaces attempts farther apart, giving the destination time to recover. Production designs often consider jitter too, to avoid synchronized clients retrying at once. Jitter is a general extension to consider, not an implementation claim about this repository.
Exhaustion is a real state
A dead-letter queue makes exhausted work visible rather than retrying forever. Investigation and replay need care: the receiver may already have processed an earlier attempt even if the sender never received its acknowledgement. Idempotency is therefore a separate concern from retries.
Try the failure path
The portfolio’s browser simulation lets you change destination behavior, step through retries, and replay a dead-lettered event. Its virtual clock teaches the delivery policy; it does not measure the throughput of the Go service.
Implementation reference
This note explains the documented architecture and separates suggested evaluations from measured results.
Fault-Tolerant Webhook Dispatch Engine — source repository ↗