[backend] Fix Webhook Retry: Implement Exponential Backoff with Jitter
Description: Webhook retry processor in backend/src/services/webhookRetryProcessor.ts uses fixed intervals. Causes thundering herd on recovery, overwhelms downstream services.
Impact: Cascading failures; webhook delivery delays; downstream service overload.
Suggested Fix:
- Implement exponential backoff:
min(2^attempt * base + jitter, max)
- Add jitter:
random(0, 2^attempt * base * 0.1)
- Configurable: base=30s, max=1hr, max_attempts=10
- Add dead letter queue for permanently failed webhooks
- Metrics: retry count, latency, success rate per endpoint
Points: 200
Type: bug
Definition of Done
📋 Before working on this issue, please read our Contributing Guidelines — it covers branching, commits, PR standards, testing, and style guides.
Join our Telegram community to connect with other contributors, ask questions, and stay updated:
💬 Telegram: https://t.me/+eRqhka27TVo0NzM8
All official decisions, reviews, and coordination happen right here on GitHub. The Telegram group is a space for informal discussion and peer support.
[backend] Fix Webhook Retry: Implement Exponential Backoff with Jitter
Description: Webhook retry processor in
backend/src/services/webhookRetryProcessor.tsuses fixed intervals. Causes thundering herd on recovery, overwhelms downstream services.Impact: Cascading failures; webhook delivery delays; downstream service overload.
Suggested Fix:
min(2^attempt * base + jitter, max)random(0, 2^attempt * base * 0.1)Points: 200
Type: bug
Definition of Done
📋 Before working on this issue, please read our Contributing Guidelines — it covers branching, commits, PR standards, testing, and style guides.
Join our Telegram community to connect with other contributors, ask questions, and stay updated:
💬 Telegram: https://t.me/+eRqhka27TVo0NzM8
All official decisions, reviews, and coordination happen right here on GitHub. The Telegram group is a space for informal discussion and peer support.