Temporary and Permanent Failures

A retry policy needs to know whether repeating the same operation with the same inputs might succeed without an unrelated change.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Compare two outcomes
  2. Choose repeat conditions explicitly

Compare two outcomes

A brief unavailable service may respond later. A local parser rejecting a string under its supported format will generally reject the same string again. See format and domain validation for inputs needing correction.

Choose repeat conditions explicitly

The distinction can depend on context. A missing report is permanent for one run and expected to arrive later in another. Document the evidence used before attaching a bounded retry loop.[1]

References

  1. Python Software Foundation, Python Tutorial: Errors and Exceptions ↩