Quantcast
Channel: Active questions tagged retry-logic - Stack Overflow
Viewing all articles
Browse latest Browse all 950

optimising retry count in an application [closed]

$
0
0

I have an application that for various reasons has to do quite a large number of retries before a particular http request completes successfully. However the number of successful completes reduces quite rapidly after about 50 retries. So by the time of the 800th retry only a tiny percentage of the requests complete successfully. Its a better user experience for the request to fail quicker, whereupon they can try the request again.

I'm trying to find a way of getting the optimal retry count - as in the best middle ground wherein we fail quickly after a point at which success is very unlikely.
I'm just wondering if there are any calculations or approaches for doing this?
Thanks!


Viewing all articles
Browse latest Browse all 950


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>