Sleep Monitoring Systems based on Edge Computing and Microservices Caching
Nico Surantha, David Jayaatmaja, Sani Muhamad Isa · 2024
The rapid development of Internet of Things (IoT) technology has enabled the widespread deployment of health monitoring systems. Traditionally, the health monitoring system has been limited by centralized processing and storage in the cloud, leading to latency issues and potential data loss. This paper introduces a smart sleep monitoring system based on edge computing, utilizing microservices architecture and caching techniques. The proposed system employs edge computing to enable data processing closer to the source, reducing latency and improving real-time monitoring capabilities. Caching is employed to reduce database load and optimize random access memory (RAM) usage. This research addresses latency and response time challenges on IoT health monitoring platforms in environments with poor network quality while optimizing database load and resource usage on Jetson Nano as the edge computing device. Using Electrocardiogram (ECG) data as input, the proposed system yields impressive performance metrics. The research results indicate that the proposed system can increase throughput by 26.92 KB/s, reduce response time by 18.8 ms, and decrease latency by 20.86 ms compared to the previous work. Message Queuing Telemetry Transport (MQTT) integration reduces CPU usage by approximately 40% and RAM usage by about 81.24%.