Implementasi Protokol Redis Pub/Sub Menggunakan Python untuk Sistem Monitoring Suhu IoT Secara Real-Time
Abstract
This research implements the Redis Publish/Subscribe (Pub/Sub) mechanism using the Python programming language for real-time transmission of IoT temperature sensor data. The primary focus of this study is to address latency challenges in data distribution for logging and alerting system requirements. The system is designed with an architecture where temperature data is published to a Redis channel and simultaneously received by multiple subscribers. One subscriber unit is responsible for recording data into a database for historical analysis, while another unit validates temperature thresholds to trigger instant alerts upon detecting anomalies. Test results demonstrate that the use of Redis Pub/Sub effectively achieves decoupling between data senders and receivers, thereby enhancing system scalability. This architecture proves capable of distributing information with low latency and high efficiency. This study concludes that Redis Pub/Sub is a reliable solution for IoT monitoring systems that require rapid response and seamless data synchronization between monitoring functions and preventive actions.
References
M. A. Rahaman, C. Chakraborty, and M. R. Islam, “Real-time Patient Monitoring System using IoT and Cloud Computing for Smart Healthcare,” J. Med. Syst., vol. 48, no. 1, pp. 12–25, 2024.
S. K. Sood and S. Rani, “A Secure and Scalable IoT Architecture for Smart Temperature Monitoring in Cold Chain Logistics,” IEEE Trans. Ind. Inform., vol. 19, no. 3, pp. 2845–2854, 2023.
R. Kumar and A. Singh, “Comparative Analysis of Messaging Protocols for Real-Time IoT Applications,” Int. J. Commun. Syst., vol. 35, no. 14, p. e5281, 2022.
J. Wang and et al., “Low-Latency Data Transmission Mechanism for IoT-Based Cold Chain Monitoring Systems,” IEEE Internet Things J., vol. 11, no. 2, pp. 1540–1552, 2024.
L. Zhang and Y. Chen, “Optimization of In-Memory Data Grids for Real-Time IoT Data Processing using Redis,” Future Gener. Comput. Syst., vol. 141, pp. 310–322, 2023.
H. Nguyen and T. Pham, “Scalability of Python-Based Microservices in IoT Environments: A Performance Study,” Softw. Pract. Exp., vol. 55, no. 4, pp. 889–910, 2025.
Copyright (c) 2026 Jurnal Sistem Informasi Dan Informatika

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











