🤖 AI Summary
To address high field-parsing overhead and low processing efficiency in encrypted transport protocols (e.g., QUIC), this paper proposes Reverso: a novel field-ordering paradigm at the protocol specification level, which reverses field sequence in QUIC v1. This design triggers natural optimizations in underlying implementations—without modifying cryptographic logic, incurring additional runtime cost, or compromising RFC 9000 security guarantees. Implemented in Rust via the quiceh library and integrated into a customized Cloudflare HTTP/3 module, end-to-end evaluation demonstrates a ~30% reduction in QUIC packet parsing CPU overhead and a ~38% improvement in HTTP/3 throughput. Crucially, the paradigm is cross-protocol transferable, offering a new avenue for designing high-performance, standards-compliant secure protocols.
📝 Abstract
We propose in this paper to revisit the design of existing encrypted transport protocols to improve their efficiency. We call the methodology"Reverso"from reversing the order of field elements within a protocol specification. We detail how such a benign-looking change within the specifications may unlock implementation optimizations for encrypted protocols. To demonstrate our findings, we release quiceh, a QUIC implementation of QUIC VReverso, an extension of the QUIC V1 standard (RFC9000). Our methodology applied to the QUIC protocol reports ~30% of CPU efficiency improvement for processing packets at no added cost on the sender side and without relaxing any security guarantee from QUIC V1. We also implement a fork of Cloudflare's HTTP/3 module and client/server demonstrator using quiceh and show our optimizations to directly transfer to HTTP/3 as well, resulting in our new HTTP/3 to be ~ 38% more efficient than the baseline implementation using QUIC V1. We argue that Reverso applies to any modern encrypted protocol and its implementations and that similar efficiency improvement can also be unlocked for them, independently of the layer in which they operate.