Retry Policy

Sensos implements a retry policy for data delivery to ensure successful transmission of data, even in cases of temporary communication failures. This policy governs the intervals at which retry attempts are made if the initial delivery attempt fails. The retry policy is designed to progressively increase the delay between attempts, minimizing the risk of overwhelming the target system while maintaining data integrity.

Retry Policy Overview

When an attempt to deliver data fails, the system will retry according to the exponential backoff algorithm, increasing the delay between successive attempts. The formula used to calculate the delay is:

Delay = 2^(number of retries)* 30 seconds

This results in progressively longer delays between retry attempts. The retry mechanism will continue until the data is successfully delivered or the maximum number of attempts is reached.

Retry Table

The following table outlines the delay intervals for each retry attempt, up to the 13th attempt:

Attempt NumberRetry NumberDelay (seconds)Accumulated Delay (seconds)
1000 (0 minutes)
213030 (0.5 minutes)
326090 (1.5 minutes)
43120210 (3.5 minutes)
54240450 (7.5 minutes)
65480930 (15.5 minutes)
769601890 (31.5 minutes)
8719203810 (1.06 hours)
9838407650 (2.13 hours)
109768015330 (4.26 hours)
11101536030690 (8.52 hours)
12113072061410 (17.06 hours)
131261440122850 (34.13 hours)