Reliability

Retry Pattern

Description

See 'Retries with Backoff' in Distributed Systems. Handling transient failures.

Where to use

  • Transient faults.

Real World Example

HTTP Retries.

Code Example

class RetryPattern:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing Retry Pattern')