Definition
Retry logic is a fundamental pattern in distributed systems and integrations: when an operation fails (network error, timeout, temporary unavailability), the system automatically retries after a waiting period. Exponential backoff is the standard: first retry after 1 second, next after 2, then 4, 8, and so on - with a cap (e.g. 5 minutes). This prevents an overloaded system from being bombarded with retries and collapsing further (the thundering herd problem). A Dead-Letter Queue (DLQ) is where messages end up after the maximum number of retries - they are parked for manual inspection rather than disappearing. In ElhubNational hub for metering data and market processes in the Norwegian electricity market. integrations, retry logic is especially critical: Elhub has strict deadlines and can reject messages for many reasons. A message rejected due to a validationThe first step in VEE - automated checks of metering data against technical and logical limits to detect obviously erroneous values. error should not be retried blindly - it requires human intervention.