2021-07-26
|~1 min read
|75 words
In distributed systems, nothing is certain. This includes network requests. So, how do we handle a failed network request? Do we simply retry them?
A naive retry can create a thundering herd problem and overwhelm the underlying server.
Some strategies to consider include introducing jitter, exponential backoffs, circuit breakers and timeouts. These can be combined as well.
Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!