When a network returns, a Sige5 gateway can suddenly have hours of telemetry waiting. Sending everything immediately may starve current alarms or create a second outage at the receiving service. A replay budget lets you estimate recovery time before tuning a queue.

ArmSoM Sige5 single-board computer · ArmSoM
Budget for live traffic first
Suppose the receiver accepts 120 messages per second and the installation generates 20 new ones each second. With equivalent message sizes and no retries, up to 100 old messages per second can drain. A backlog of 36,000 would take six minutes at that rate. Measure acknowledged messages, including retries, in a reconnect rehearsal. Give live alarms an explicit latency target while replay is active.
Acknowledgements per second with 20 live messages/s | Time to replay 36,000 stored messages |
60 total, 40 available for replay | 15 minutes |
120 total, 100 available for replay | 6 minutes |
200 total, 180 available for replay | 3 minutes 20 seconds |
Plot the oldest pending event over several minutes. A falling queue count can still hide one repeatedly failing record, especially when newer records are accepted out of order.
Record the oldest unacknowledged timestamp as well as queue length. The first tells the operator how far behind the system is in terms they can use.
Reference material
ArmSoM Sige5 hardware documentation
