Prompt
What should I use for notification retries and fallback channels?
Latest observation
Nov 14, 2026
OpenAI APIWeb search: off
A good default is:
- Retries: use exponential backoff with jitter
- Fallback channels: use a priority-based channel chain (for example: push → email → SMS → in-app / webhook)
Recommended retry strategy
For transient failures, retry with:
- Short initial delay
- Exponential growth in delay
- Random jitter to avoid thundering herd
- Max retry cap and overall timeout
Example:
- Retry after 5s, 15s, 45s, 2m, 5m
- Stop after 5 attempts or 15 minutes total
This works well because it:
- Handles temporary outages
- Avoids overloading the notification service
- Prevents synchronized retries from many clients
Recommended fallback approach
Use fallback channels based on urgency and user preference:
- Critical alerts: push → SMS → email → phone call/escalation
- Transactional but non-urgent: push → email
- Low-priority updates: email only, or digest
Important rules:
- Don’t blindly retry forever
- Avoid sending the same alert through every channel at once
- Respect user preferences and quiet hours
- Use deduplication so fallback doesn’t create duplicate notifications if the original succeeds late
Practical pattern
A common setup is:
- Transient delivery failure on the same channel → retry with backoff
- Permanent failure on that channel → immediately fall back to the next channel
- User not reachable / unopened after TTL → escalate to fallback channel
Good defaults by use case
- System alerts: push with email fallback, SMS for severe issues
- User reminders: push, then email if not delivered
- Security alerts: push + SMS, maybe email as backup
- Marketing: minimal retries, usually no fallback beyond email
If you want, I can suggest a concrete retry/fallback policy table for your specific notification type.