Temporary Wi-Fi interruptions can prevent usage-recap records generated by an IoT-enabled dual-output electric bicycle battery charging system from reaching Firebase Realtime Database, leaving the cloud-based usage history incomplete. This study aims to evaluate the operating boundary of the implemented circular-queue backup mechanism and its implications for buffer sizing. Actual backup tests used six queue-loading conditions of 2, 4, 6, 8, 10, and 12 usage-recap records during Wi-Fi interruption and subsequent reconnection. The results were reanalyzed using delivery ratio, data loss rate, and queue occupancy. A deterministic event-based queue model then examined additional queue loads, interruption durations, record-generation rates, and post-reconnection drain behavior. The actual tests showed 100% delivery with no data loss for up to 10 records. At 12 generated records, 10 were delivered and 2 were unrecoverable, giving an 83.33% delivery ratio and a 16.67% data loss rate. The model estimated a 20 s drain time for a full queue and a 30 s recovery-control time including the 10 s reconnection interval. These results indicate that queue capacity should be selected according to expected interruption duration and record-generation rate; the implemented RAM-based queue provides temporary buffering rather than persistent fault-tolerant storage.
Copyrights © 2026