Tags

Retry Policy

Retry Policy

0 lessons
2 problems
2 code snippets
1 system design
4 AI Engineering questions

retry-policy

Practice Problems

2 problems

Fix a Webhook Reply Sender

Not Started
Hard

Debug an SMS reply webhook handler that sent duplicate texts, left some messages unanswered, and multiplied model calls under rate limits, timeouts, and redeliveries: the tests replay each failure with scripted providers and a fake clock, and you fix each defect with the smallest change.

AI Engineering
Retry Policy
Idempotency
Debugging
Advanced

3

Bounded Retry Policy

Free
Not Started
Medium

Decide whether to retry a failed provider call: stop for unsafe replay, a permanent failure, used-up attempts, or a deadline that cannot fit the wait, and otherwise return a capped, jittered backoff delay that honors retry-after.

AI Engineering
Retry Policy
Fault Tolerance
Rate Limiting
Intermediate

7