Jurnal Rekayasa elektrika
Vol. 22 No. 2 (2026): Vol. 22, No. 2, June 2026

Evaluation of a Circular-Queue Backup Mechanism for Firebase Data Synchronization in an IoT-Enabled Dual-Output Electric Bicycle Charger

Sri Wahyuni Dali (Politeknik Negeri Malang)
Imron Ridzki (Politeknik Negeri Malang)
Putri Elfa Mas’udia (Politeknik Negeri Malang)



Article Info

Publish Date
13 Oct 2026

Abstract

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






Journal Info

Abbrev

jre

Publisher

Subject

Description

The journal publishes original papers in the field of electrical, computer and informatics engineering which covers, but not limited to, the following scope: Electronics: Electronic Materials, Microelectronic System, Design and Implementation of Application Specific Integrated Circuits (ASIC), VLSI ...