Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Retry Patterns: Strategically Overcoming Failures

Everton Carlos
October 30, 2024
7

Retry Patterns: Strategically Overcoming Failures

This presentation covers key retry patterns, such as immediate retries, exponential backoff, and circuit breakers, highlighting best practices and challenges. Learn how to handle transient errors, balance load, and improve user experience, ensuring more resilient and reliable systems.

Everton Carlos

October 30, 2024
Tweet

Transcript

  1. Éverton Carlos Software Engineer – 5x AWS – MBA in

    Project IT Management [email protected] (34) 9.9263-0888 /evertoncnsouza
  2. ➔ Pratical Implementation ➔ Best Practices ➔ Challenges and Considerations

    ➔ Conclusion and Questions AGENDA ➔ Basics Concepts ➔ Key components ➔ Retry Storm ➔ Design Patterns
  3. Basics Concepts ➔ What is Retry and why is it

    necessary ➔ Error Types: Transient vs. Permanent ➔ Impact of retries on performance and user experience
  4. ➔ Circuit Breaker ➔ Fibonacci Backoff ➔ Retry With Max

    Attempts ➔ Status Code-Based Retry Common Retry Patterns ➔ Immediate Retry ➔ Fixed Interval Retry ➔ Exponential Backoff ➔ Exponential Backoff with Jitter ➔ Bulkhead Pattern ➔ Token Bucket Retry ➔ Rate Limit
  5. Best Practices ➔ Transient vs. Permanent Errors ➔ Max Attempts

    Limit ➔ Implement Circuit Breaker ➔ Monitor & Adjust Retry Behavior ➔ User Experience Considerations
  6. Challenges and Considerations ➔ Balancing Retry Load ➔ Handling Latency

    ➔ Network Instability ➔ Idempotency ➔ Rate Limits ➔ User Impact