PARAMETRIC EVALUATION OF MQTT 5 OVER QUIC UNDER MOBILITY SCENARIOS
Abstract
MQTT remains the dominant publish/subscribe transport for the Internet of Things (IoT). Two recent developments—the OASIS MQTT 5.0 specification and the IETF QUIC transport protocol—change the design space in ways that the existing literature has only partially explored: most published evaluations either fix MQTT 5 over TCP+TLS or compare MQTT 3.1.1 over QUIC against MQTT 3.1.1 over TCP, leaving the joint behaviour of MQTT 5 features (topic aliases, message expiry, shared subscriptions) and QUIC connection migration on multi-radio-access-technology (multi-RAT) mobile links largely unmeasured. We address this gap with a parametric analytical model of three transport stacks—MQTT/TCP+TLS 1.2, MQTT/TCP+TLS 1.3, and MQTT 5/QUIC v1—across six network conditions (stable WiFi, lossy 4G, 5G, 5GWiFi handover, 4G5G handover, NAT rebinding) at three QoS levels and four payload sizes. The model’s transport arithmetic is anchored to published byte-level overheads and the round-trip counts specified by RFCs 9000/9001/9002 and TLS 1.2/1.3, and the calibration is reported alongside the headline results. The TCP+TLS predictions are validated against a Docker-based testbed running the EMQX 5.8 broker with tc/netem impairment; QUIC predictions remain unvalidated and should be interpreted with corresponding caution. With 30 independent runs per cell, bootstrap-percentile 95% confidence intervals on tail metrics, and normal-CIs on means, we find that QUIC’s advantage in the steady state is negligible on low-loss links (indistinguishable from TCP+TLS at p95 on WiFi and 5G) but grows to about 35% at p99 on a lossy 4G link, driven primarily by TCP’s 200 ms minimum RTO floor versus QUIC’s RTT-proportional PTO. On a 5GWiFi handover the QUIC advantage on event-level re-establishment time is small (5–10 ms over TCP+TLS 1.3, not statistically significant) because the L2 outage dominates, but on a 4G5G handover the QUIC advantage grows to about 32 ms because the post-handover RTT is larger and the avoided handshake is proportionally larger. On NAT rebinding QUIC reduces the re-establishment cost to a single path-validation RTT (about 100 ms saved against TCP+TLS 1.3). Topic aliases on 64-byte payloads improve uplink goodput efficiency from 0.40 to 0.44, a 9% gain. We conclude with use-case-specific guidance: QUIC is most beneficial for mobile IoT devices that undergo handovers to higher-RTT bearers or that experience NAT rebinding, while topic aliases dominate the value of MQTT 5 for constrained-payload sensor fleets.
Keywords: IoT, connection migration, multi-RAT handover, NAT rebinding, transport protocol, publish-subscribe, EMQX, analytical model.
Full Text:
PDFReferences
OASIS (2019) MQTT Version 5.0 OASIS Standard. Available at: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html
OASIS (2014) MQTT Version 3.1.1 OASIS Standard. Available at: https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
Iyengar, J. and Thomson, M. (eds.) (2021) ‘QUIC: A UDP-Based Multiplexed and Secure Transport’, RFC 9000, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9000
Thomson, M. and Turner, S. (eds.) (2021) ‘Using TLS to Secure QUIC’, RFC 9001, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9001
Iyengar, J. and Swett, I. (eds.) (2021) ‘QUIC Loss Detection and Congestion Control’, RFC 9002, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9002
Bishop, M. (ed.) (2022) ‘HTTP/3’, RFC 9114, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9114
Duke, M. (2023) ‘QUIC Version 2’, RFC 9369, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9369
Eddy, W. (ed.) (2022) ‘Transmission Control Protocol (TCP)’, RFC 9293, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9293
Langley, A., Riddoch, A., Wilk, A., Vicente, A., Krasic, C., Zhang, D., Yang, F., Kouranov, F., Swett, I., Iyengar, J., Bailey, J., Dorfman, J., Roskind, J., Kulik, J., Westin, P., Tenneti, R., Shade, R., Hamilton, R., Vasiliev, V., Chang, W.-T. and Shi, Z. (2017) ‘The QUIC Transport Protocol: Design and Internet-Scale Deployment’, in Proc. ACM SIGCOMM, pp. 183–196. Available at: https://doi.org/10.1145/3098822.3098842
Hassan, A., Narayanan, A., Zhang, A., Ye, W., Zhu, R., Jin, S., Carpenter, J., Mao, Z.M., Zhang, Z.-L. and Qian, F. (2022) ‘Vivisecting Mobility Management in 5G Cellular Networks’, in Proc. ACM SIGCOMM. Available at: https://doi.org/10.1145/3544216.3544217
Audet, F. and Jennings, C. (2007) ‘Network Address Translation (NAT) Behavioral Requirements for Unicast UDP’, RFC 4787, IETF. Available at: https://www.rfc-editor.org/rfc/rfc4787
Kumar, P. and Dezfouli, B. (2019) ‘Implementation and analysis of QUIC for MQTT’, Computer Networks, 150, pp. 28–45. Available at: https://doi.org/10.1016/j.comnet.2018.12.012
Eggert, L. (2020) ‘Towards Securing the Internet of Things with QUIC’, in Proc. Workshop on Decentralized IoT Systems and Security (DISS), NDSS Symposium. Available at: https://www.ndss-symposium.org/ndss2020/diss-2020/
Fernández, F., Zverev, M., Garrido, P., Juárez, J.R., Bilbao, J. and Agüero, R. (2020) ‘And QUIC Meets IoT: Performance Assessment of MQTT over QUIC’, in Proc. 16th IEEE Int. Conf. Wireless and Mobile Computing, Networking and Communications (WiMob). Available at: https://doi.org/10.1109/WiMob50308.2020.9253384
Fernández, F., Zverev, M., Garrido, P., Juárez, J.R., Bilbao, J. and Agüero, R. (2021) ‘Even Lower Latency in IIoT: Evaluation of QUIC in Industrial IoT Scenarios’, Sensors, 21(17), art. 5737. Available at: https://doi.org/10.3390/s21175737
Jeddou, S., Fernández, F., Diez, L., Baina, A., Abdallah, N. and Agüero, R. (2022) ‘Delay and Energy Consumption of MQTT over QUIC: An Empirical Characterization Using Commercial-Off-The-Shelf Devices’, Sensors, 22(10), art. 3694. Available at: https://doi.org/10.3390/s22103694
EMQ Technologies (2024) MQTT over QUIC, EMQX 5.x documentation. Available at: https://docs.emqx.com/en/emqx/latest/mqtt-over-quic/introduction.html
EMQ Technologies (2024) NanoMQ documentation. Available at: https://nanomq.io/docs/en/latest/
De Biasio, A., Chiariotti, F., Polese, M., Zanella, A. and Zorzi, M. (2019) ‘A QUIC Implementation for ns-3’, in Proc. Workshop on ns-3. Available at: https://doi.org/10.1145/3337941.3337945
Peuster, M., Karl, H. and van Rossem, S. (2016) ‘MeDICINE: Rapid Prototyping of Production-Ready Network Services in Multi-PoP Environments’, in Proc. IEEE NFV-SDN, pp. 148–153. Available at: https://github.com/containernet/containernet
Hemminger, S. (2005) ‘Network Emulation with NetEm’, in Proc. Linux Conf Au. Available at: https://man7.org/linux/man-pages/man8/tc-netem.8.html
3GPP (2024) System architecture for the 5G System (5GS); Stage 2, TS 23.501, Release 18. Available at: https://www.3gpp.org/dynareport/23501.htm
Huang, J., Qian, F., Gerber, A., Mao, Z.M., Sen, S. and Spatscheck, O. (2012) ‘A close examination of performance and power characteristics of 4G LTE networks’, in Proc. ACM MobiSys, pp. 225–238. Available at: https://doi.org/10.1145/2307636.2307658
Pauly, T., Kinnear, E. and Schinazi, D. (2022) ‘An Unreliable Datagram Extension to QUIC’, RFC 9221, IETF. Available at: https://www.rfc-editor.org/rfc/rfc9221
DOI: https://doi.org/10.26886/2414-634X.3(72)2026.2
Refbacks
- There are currently no refbacks.