Timeouts, Retries and Idempotency In Distributed Systems

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.


Speaker

Sam Newman

Microservice, Cloud, CI/CD Expert, Author of "Building Microservices" and "Monolith to Microservices", 20+ Years Experience as a Developer

Sam is a technologist focusing in the areas of cloud, microservices, and continuous delivery - three topics which seem to overlap frequently. Providing consulting, training and advisory services to startups and large multi-national enterprises alike, he has over 20 years in IT as a developer, sys admin and architect. Sam is also author of the best selling Building Microservices and Monolith To Microservices, both from O’Reilly, and is an experienced conference speaker.

Read more

From the same track

Session

Deploying WebSockets with AsyncAPI and Architecture as Code

Wednesday Apr 9 / 11:45AM BST

Details coming soon.

Speaker image - James Gough

James Gough

Distinguished Engineer, API Platform Lead Architect @Morgan Stanley, Co-Author of Optimizing Java

Session

Building an On-Call System with Excellent Observability

Wednesday Apr 9 / 02:45PM BST

Details coming soon.

Session

gRPC, REST, and Beyond: Choosing the Right Protocol for Your Needs

Wednesday Apr 9 / 01:35PM BST

Details coming soon.

Session

Unlocking the Power of Connectivity to Build a Seamless System Landscape

Wednesday Apr 9 / 03:55PM BST

Details coming soon.