This work addresses the problem of security and low latency in communications typical of several Internet of Things (IoT) scenarios, such as those in Industry 4.0 applications. In particular, we propose a WebSocket over QUIC (WS-QUIC) protocol for intra-network communications between the IoT devices and the gateway. In particular, low latency is achieved by combining the connection persistence of WebSocket (WS) with the reduced connection establishment time required by QUIC. Moreover, the use of QUIC implicitly exploit the security extensions of WS provided by the Transport Layer Security (TLS) protocol. We experimentally analyzed the performance of the proposed system and compare it with that provided by other Web-based secure protocols, such as HyperText Transfer Protocol Secure (HTTPS) and WebSocket Secure (WSS). Our results show that WS-QUIC outperforms HTTPS and WSS for medium-large file sizes. Moreover, the use of the so-called TLS ticket resumption makes WS-QUIC suitable also for medium-small file sizes. Finally, we also discuss the potential use of a single shared session ticket between different IoT devices in the same cluster to further decrease the latency.
QUIC and WebSocket for Secure and Low-Latency IoT Communications: An Experimental Analysis
Pettorru, Giovanni;Martalo', Marco
2023-01-01
Abstract
This work addresses the problem of security and low latency in communications typical of several Internet of Things (IoT) scenarios, such as those in Industry 4.0 applications. In particular, we propose a WebSocket over QUIC (WS-QUIC) protocol for intra-network communications between the IoT devices and the gateway. In particular, low latency is achieved by combining the connection persistence of WebSocket (WS) with the reduced connection establishment time required by QUIC. Moreover, the use of QUIC implicitly exploit the security extensions of WS provided by the Transport Layer Security (TLS) protocol. We experimentally analyzed the performance of the proposed system and compare it with that provided by other Web-based secure protocols, such as HyperText Transfer Protocol Secure (HTTPS) and WebSocket Secure (WSS). Our results show that WS-QUIC outperforms HTTPS and WSS for medium-large file sizes. Moreover, the use of the so-called TLS ticket resumption makes WS-QUIC suitable also for medium-small file sizes. Finally, we also discuss the potential use of a single shared session ticket between different IoT devices in the same cluster to further decrease the latency.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.