Connection timeout retries
When you configure a connection for timeout duration, intervals, and number of retries, you can also configure the retry properties.
Linear retries
You can configure the duration of retry intervals in minutes (within a range of
1 through 60 minutes) and the number of retries (within a range of
1 through 300).
Exponential retries
- Minimum delay (in minutes)
- The minimum amount of time you must wait before retrying.
- Maximum delay (in minutes)
- The maximum amount of time you must wait before retrying. When you use exponential retry, the retry interval keeps on increasing exponentially starting from the Minimum delay value. So, this option helps to limit that. With Minimum delay set to 1 and Back off coefficient (Multiplier) set to 3, the retry intervals are 1, 3, 9, 27, 81, and so on. However, if you limit the Maximum delay to 15 minutes, the retry intervals are 1, 3, 9, 15, 15, and so on.
- Back off coefficient (Multiplier)
- The rate at which the retry interval increases. For example, if this value is set to 3, and Minimum delay is 1 min, the first retry is after an interval of 1 minute. Then, the next retry is after an interval of 3 minutes, the subsequent retry is after an interval of 9 minutes, and so on. So, this number corresponds to retries at the first minute, then the fourth minute (1+3), then the 13th minute (4 + 9), and so on.
- Number of retry attempts
- The maximum number of times it must retry. If in the same example, you set the maximum number of
retries to 4, it must stop after the 4th retry attempt, which must be the
retry attempt at (1 + 3 + 9 + 15 = )
28th minute. Also the maximum number of retries is limited. So, that the retry mechanism does not run beyond24 hours. For example, if you set Minimum delay to 1 hour, Back off coefficient (Multiplier) set to 2, Maximum delay to 9 hours, the retry intervals increment as 1hr, 2hr, 4hr, 8 hrs, 9hrs, 9hrs. And the retries must be attempted at 1st hr, 3rd hr, 7th hr, 15th hr, 24th hr, 33rd hour. But since the sixth attempt exceeds the allowed time limit of 24 hours for retry, the maximum retries are within the range of 1-5.
- Enable reset
- In the Reset after attempts field, input an Integer-type value for the
number of attempts after which the connection will be reset.
The retry interval keeps on increasing in exponential retry. This option helps to reset the retry intervals to the minimum retry interval again after some attempts. In the example, the Minimum delay was 1 hour, Back off coefficient (Multiplier) set to 3, Maximum delay to 9 hours, In this case, if you set the Enable reset after 4 attempts, the retry intervals must be 1hr, 2hr, 4hr, 8hr, 1hr, 2hr, 4hr. Then, it exceeds the allowed time limit of 24 hours for retry. So, with reset after attempts set to 4, the maximum retries are within the range of 1-7.