27.7 Client-Side Retry Logic and Backoff
Right, so you’ve sent your request out into the digital void. Sometimes, the void coughs back an error. The question is: do you just stand there, slack-jawed, and give up? Or do you, like a sensible human (or a particularly determined algorithm), try again? This is retry logic, and doing it well is the difference between a resilient application and a flaky mess that fails the moment the network gets a case of the sniffles.