Timeouts, Retries and Idempotency In Distributed Systems

QCon London 2025

Session resiliency

Timeouts, Retries and Idempotency In Distributed Systems

Wednesday Apr 9 / 10:35AM BST, Fleming (3rd Fl.)

Abstract

The definition of insanity is doing the same thing over and over again” - this quote attributed to Einstein warns us of the danger of magical thinking, hoping that trying something just one more time will achieve success when before we failed. But is this really insanity?

In this talk, I’ll argue that retrying things actually does make a lot of sense, and is in fact key to improving the resilience of a distributed system. Along the way, I’ll explain the importance of timeouts, retry limits and knowing when giving up does make sense. I’ll also show how retries can be made safe (and help avoid draining your bank account), and perhaps we’ll get to examine that Einstein quote in a bit more detail.

Topics

resiliency APIs Distributed Systems Microservices
76% senior dev or higher
1:11 speaker ratio
60+ practitioners

QCon London 2025 is a three day conference for senior software engineers, architects and team leads. An international program committee of working engineers selects every session. Patterns and practices, not products and pitches.

Share

From the same track

Wednesday 9 April

10:35 Fleming (3rd Fl.) Session resiliency Timeouts, Retries and Idempotency In Distributed Systems Sam Newman Microservice, Cloud, CI/CD Expert, Author of "Building Microservices" and "Monolith to Microservices", 20+ Years Experience as a Developer 11:45 Fleming (3rd Fl.) Session architecture From Confusion to Clarity: Advanced Observability Strategies for Media Workflows at Netflix Sujana Sooreddy, Naveen Mareddy 13:35 Whittle (3rd Fl.) Session APIs Scaling API Independence: Mocking, Contract Testing & Observability in Large Microservices Environments Tom Akehurst CTO and Co-Founder @WireMock, 20+ Years Building Enterprise Systems 14:45 Whittle (3rd Fl.) Session From Dashboard Soup to Observability Lasagna: Building Better Layers Martha Lambert Product Engineer @incident.io, Building Reliable and Observable Systems 15:55 Fleming (3rd Fl.) Session architecture Platforms for Secure API Connectivity With Architecture as Code Jim Gough Distinguished Engineer, API Platform Lead Architect @Morgan Stanley, Co-Author of Optimizing Java