Retry Policy

Noun · Development

Definitions

  1. A configurable strategy governing how retries are performed — specifying which errors are retryable, the maximum number of attempts, the backoff algorithm (constant, linear, exponential), jitter range, and per-attempt timeout. Libraries like Polly (.NET), resilience4j (Java), and tenacity (Python) formalize retry policies as composable objects.

    In plain English: A set of rules that defines exactly how many times to retry, how long to wait between attempts, and which types of failures are worth retrying.

    Example: "The retry policy does exponential backoff starting at 100ms with full jitter, gives up after 5 attempts, and only retries on 429 and 5xx."

Related Terms