A Comparative Study of Loss Recovery Mechanisms Within HTTP and MQTT for QoS and Scalability in IoT Using the OneM2M Standard
摘要
The exponential growth of IoT devices presents significant challenges for maintaining Quality of Service (QoS) and scalability in OneM2M networks. This paper presents a comprehensive comparison of three fundamental loss recovery mechanisms—Selective Repeat, Go-Back-N, and Stop-and-Wait—implemented across both HTTP and MQTT protocols within the OneM2M architecture. Through extensive experimentation using a controlled test environment with varying packet loss rates, we evaluate the performance impact of each mechanism on transmission rates and latency. Our results demonstrate that MQTT consistently outperforms HTTP across all three recovery mechanisms, particularly in high packet loss scenarios. The performance analysis reveals significant differences in both transmission rates and latency between the protocols, with MQTT showing superior scalability and reliability. These findings provide crucial insights for selecting appropriate loss recovery mechanisms in OneM2M deployments, particularly for scenarios requiring high reliability and low latency in IoT networks.