There has been growing interest in using QUIC as a transport protocol for the Internet of Things (IoT). QUIC provides several key advantages over TCP and TLS. Since IoT greatly differs from traditional networks in terms of architecture and resources, IoT specific parameter tuning has proven to be of significance. While RFC 9006 offers a guideline for tuning TCP within IoT, we have not found an equivalent for QUIC. This paper is the first of our knowledge to contribute empirically based insights towards tuning QUIC for IoT. To achieve this, we improved our pure HTTP/3 publish-subscribe architecture and rigorously benchmarked it against an alternative: MQTT-over-QUIC. To investigate the impact of transport layer parameters, we ran both applications on Raspberry Pi Zero hardware and collected 8 distinct metrics, while emulating different network conditions and message payloads. We enumerate the points we experimentally identified (notably, relating to authentication, MAX STREAM messages, and timers) and elaborate on how they can be tuned to improve resource consumption and performance. We also found that our application was preferable for reliable time-sensitive dissemination of information.
翻译:近年来,将QUIC用作物联网(IoT)的传输协议引起了广泛关注。与TCP和TLS相比,QUIC具有若干关键优势。由于物联网在架构和资源方面与传统网络存在显著差异,针对物联网的参数调优已被证明具有重要意义。虽然RFC 9006为物联网中的TCP调优提供了指导,但我们尚未找到针对QUIC的等效方案。据我们所知,本文首次为物联网中QUIC调优提供了基于实验的见解。为此,我们改进了纯HTTP/3发布-订阅架构,并将其与替代方案MQTT-over-QUIC进行了严格的基准测试。为了研究传输层参数的影响,我们在树莓派Zero硬件上运行了两种应用,并在模拟不同网络条件和消息负载的同时,收集了8个不同的指标。我们列举了实验中识别出的关键点(特别是与认证、MAX STREAM消息和定时器相关的内容),并详细阐述了如何通过调优这些参数来改善资源消耗和性能。我们还发现,我们的应用更适用于可靠且时间敏感的信息分发场景。