International Journal of Innovative Research and Scientific Studies · 2025 · 13 citations · 0 references
ComputingComputer EngineeringComputer SystemsComputer NetworksInternet Of ThingsReal-time SystemsDigital Twin DesignHttp ProtocolInternet Protocol SuiteIot Communication ProtocolsReal-time Communication ProtocolsComparative Performance EvaluationDigital Twin ApplicationsDigital Twin ArchitectureReal-time Data TransmissionReal-time Iot CommunicationReal-time Iot SystemsWebsocket ProtocolWebsockets
This study aims to identify the most suitable IoT communication protocol for a digital twin architecture, focusing on meeting the demands of real-time data transmission with stability and security. The research methodology involves a comparative performance analysis of MQTT over TCP, MQTT over WebSocket, and HTTP protocols, evaluating their latency, connectivity stability, and IoT application feasibility using an ESP32 microcontroller and DHT22 sensor setup. The experimental results demonstrate that MQTT over TCP achieves the lowest average latency at 290.5 ms, while MQTT over WebSocket exhibits more stable latency profiles with a 193.2 ms standard deviation; HTTP, despite its broader compatibility, showed higher average latency of 342.6 ms with a 307.9 ms standard deviation. These findings provide valuable insights for digital twin implementations, enabling developers to make informed protocol selections based on specific requirements, whether prioritizing real-time performance through MQTT protocols or emphasizing system compatibility and simplicity through HTTP.