Edge-Based IoT EndPoint Performance Optimization for Smart Mosques

Safiq Rosad, lasimin lasimin, Faik Irkhamudin, Cahyaning Yuniar Pramudita, Shofari Rizqi Alifah

Submitted : 2025-10-03, Published : 2025-12-14.

Abstract

This study examines the performance optimization of IoT endpoints based on edge architecture in a Smart Mosque system to improve the efficiency of managing electronic devices such as room lighting, air conditioning, and loudspeakers according to prayer schedules. The main problems faced include limited internet connectivity and the need for real-time service availability with minimal latency. The research objective is to test and implement optimization techniques such as data caching on the edge, decoupled computation, and push mechanisms using Server-Sent Events (SSE) and WebSocket to reduce latency and strengthen service availability. The methods used include prototype design with ESP32 endpoints, testing p50, p95, and p99 percentile latencies, and monitoring service availability and network resilience in baseline and optimized push mode scenarios. The test results show a significant reduction in average and tail latency, an increase in service availability approaching 99%, and system continuity during network disruptions. These findings confirm that edge computing architecture is very effective in supporting time-critical IoT systems such as Smart Mosques.

Keywords

Smart Mosque, IoT, Edge Computing, Latensi, WebSocket

References

[1] S. Rosad, A. Yudhana, and T. Sutikno, “Initial Study of Public Address Usage in Mosque Audio Systems,” VoteTEKNIKA (Vokasional Teknik Elektronika dan Informatika), vol. 13, no. 1, p. 202, Mar. 2025, doi: 10.24036/voteteknika.v13i1.133053.

[2] H. E. Al-Khalifa, “The Smart Mosque of the Arabian Gulf: Solutions from the past for a sustainable, energy-efficient Mosque,” 2019.

[3] M. A. Syaputra, B. Sutomo, U. Saprudin, and M. A. Putra, “Energy Efficiency and Time Management through IoT-Based Automated Electrical Control System and Digital Prayer Schedule Integration,” 2025. [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC

[4] T. Wahono, E. Ismanto, and A. Khoirudin, “Design of an Arduino-based automatic sound timer system for mosques and prayer rooms,” Journal of Natural Sciences and Mathematics Research J. Nat. Scien. & Math. Res, vol. 10, no. 2, pp. 158–166, 2024, [Online]. Available: http://journal.walisongo.ac.id/index.php/jnsmr

[5] M. N. A. Yusarelan, S. Z. A. Hamid, R. A. Rashid, and A. K. M. Ibrahim, “IoT Based Temperature Control for Smart Mosque,” in IOP Conference Series: Materials Science and Engineering, IOP Publishing Ltd, Jul. 2020. doi: 10.1088/1757-899X/884/1/012079.

[6] A. Yudhana, A. Fadlil, and S. Rosad, “Jadwal Sholat Digital Menggunakan Metode Ephemeris Berdasarkan Titik Koordinat Smartphone,” Journal Research and Development (ITJRD), vol. 3, no. 2, p. 30, Mar. 2019, doi: https://doi.org/10.25299/itjrd.2019.vol3(2).2285.

[7] P. R. Pratama, W. O. Ma’arif, and C. Niswatin, “Display Jadwal Sholat P7.65 Berbasis Mikrokontroler Esp32,” Informatika dan Rekayasa Perangkat Lunak, vol. 1, no. 1, pp. 37–42, Mar. 2019, doi: 10.36499/jinrpl.v1i1.2765.

[8] S. Rosad and D. Alfaji, “Penerapan Papan Informasi Digital Secara Real Time Menggunakan Network Time Protocol Berbasis Website,” JATI: Jurnal Mahasiswa Teknik Informatika, vol. 8, no. 2, Apr. 2024, doi: https://doi.org/10.36040/jati.v8i2.7947.

[9] W. Kassab and K. A. Darabkh, “A–Z survey of Internet of Things: Architectures, protocols, applications, recent advances, future directions and recommendations,” Journal of Network and Computer Applications, vol. 163, Aug. 2020, doi: 10.1016/j.jnca.2020.102663.

[10] I. Zyrianoff, L. Gigli, F. Montori, L. Sciullo, C. Kamienski, and M. Di Felice, “CACHE-IT: A distributed architecture for proactive edge caching in heterogeneous IoT scenarios,” Ad Hoc Networks, vol. 156, Apr. 2024, doi: 10.1016/j.adhoc.2024.103413.

[11] F. C. Andriulo, M. Fiore, M. Mongiello, E. Traversa, and V. Zizzo, “Edge Computing and Cloud Computing for Internet of Things: A Review,” Dec. 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/informatics11040071.

[12] A. F. Rachman, F. P. E. Putra, S. Syirofi, and D. Wahid, “Case Study of Computer Network Development for the Internet Of Things (IoT) Industry in an Urban Environment,” Brilliance: Research of Artificial Intelligence, vol. 4, no. 1, pp. 399–407, Aug. 2024, doi: 10.47709/brilliance.v4i1.4302.

[13] N. Kataria, “Defining Operability for Web Services: Principles, Metrics, and Practices,” International Journal of Multidisciplinary Research and Growth Evaluation, vol. 6, no. 4, pp. 686–690, 2025, doi: 10.54660/.ijmrge.2025.6.4.686-690.

[14] N. Upreti et al., “Cost-Effective, Low Latency Vector Search with Azure Cosmos DB,” Proceedings of the VLDB Endowment, vol. 18, no. 12, pp. 5166–5183, Aug. 2025, doi: 10.14778/3750601.3750635.

[15] J. Späth, M. Helm, B. Jaeger, and G. Carle, “Sim2HW: Modeling Latency Offset Between Network Simulations and Hardware Measurements,” in GNNet 2024 - Proceedings of the 3rd GNNet Workshop on Graph Neural Networking Workshop, Co-Located with: CoNEXT 2024, Association for Computing Machinery, Inc, Dec. 2024, pp. 20–26. doi: 10.1145/3694811.3697820.

[16] R. Modak and V. Avula, “Efficient Feature Store Architectures for Real-time Machine Learning Model Deployment in High-Throughput Systems,” 2020.

[17] S. Hanadwiputra, P. Studi, J. Teknik Informatika, S. Bani Saleh, and J. Komputerisasi Akuntansi, “Penerapan Teknologi Cache Server Berbasis Iot Dengan Raspberry Pi3 Menggunakan Metode Forward Chainning (Studi Kasus Smk Binakarya Mandiri 2 Kota Bekasi),” vol. 7, no. 2, 2018.

[18] I. Zyrianoff, A. Trotta, L. Sciullo, F. Montori, and M. Di Felice, “IoT Edge Caching: Taxonomy, Use Cases and Perspectives,” IEEE Internet of Things Magazine, vol. 5, no. 3, pp. 12–18, Sep. 2022, doi: 10.1109/IOTM.001.2200112.

[19] K. Ranganathan and I. Foster, “Decoupling Computation and Data Scheduling in Distributed Data-Intensive Applications,” IEEE XPlore, 2002, doi: 10.1109/HPDC.2002.1029935.

[20] R. Nugroho, M. Faiqurahman, and Z. Sari, “Implementasi Push Message Dengan Menggunakan Restful Web Service Pada Komunikasi Wireless Sensor,” REPOSITOR, vol. 2, no. 1, pp. 79–86, 2020.

Article Metrics

Abstract view: 14 times

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Refbacks

  • There are currently no refbacks.