There has been growing interest in using the QUIC transport protocol for the Internet of Things (IoT). In lossy and high latency networks, QUIC outperforms 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. 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. Eight metrics were collected 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. Our application offered lower latency than MQTT-over-QUIC with slightly higher resource consumption, making it preferable for reliable time-sensitive dissemination of information.
翻译:近年来,将QUIC传输协议应用于物联网(IoT)领域的研究日益受到关注。在高丢包率和高延迟网络中,QUIC的性能优于TCP与TLS。由于 IoT 在架构与资源特性上与传统网络存在显著差异,针对 IoT 场景的参数调优已被证明具有重要价值。尽管 RFC 9006 提供了 IoT 场景下 TCP 调优的指导准则,但尚未发现针对 QUIC 的等效规范。据我们所知,本文首次通过实验数据为面向 IoT 的 QUIC 调优提供了实证见解。我们改进了纯 HTTP/3 发布-订阅架构,并将其与替代方案 MQTT-over-QUIC 进行了严格对比基准测试。为探究传输层参数的影响,我们在 Raspberry Pi Zero 硬件上运行了两种应用程序。在模拟不同网络条件与消息负载情况下,采集了八项性能指标。我们列举了实验中发现的关键要点(尤其涉及认证、MAX_STREAM 消息及定时器),并阐述了如何通过参数调优优化资源消耗与性能。与 MQTT-over-QUIC 相比,本应用在略微增加资源消耗的情况下实现了更低延迟,使其更适用于对时间敏感且要求可靠的信息分发场景。