prompt

Retry Logic Architect

Design exponential backoff, jitter, and retry policies for resilient external service calls.

Updated June 2026
The prompt
Design retry policy for {{service_call}}:

Service SLA: {{sla}}
Failure modes: {{failure_types}}
Downstream impact: {{impact}}

Provide: backoff formula (exponential, linear, decorrelated jitter), max retries, timeout values, and circuit breaker integration. Include pseudocode and real-world scenario handling.
Did it work? Rate this prompt

Variables

External service being called
Service SLA targets
Common failure modes (timeout, rate limit, 5xx)
Downstream impact of repeated failures

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Development & Code.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Development & Code