LearningTech

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:
    def __init__(self):
        pass

    def execute(self):
        print('Executing Retry Pattern')