[Webtransport] Head-of-Line-Blocking of WebTransport Flow Control Messages

Marten Seemann <martenseemann@gmail.com> Sun, 17 March 2024 02:13 UTC

Return-Path: <martenseemann@gmail.com>
X-Original-To: webtransport@ietfa.amsl.com
Delivered-To: webtransport@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8063EC14F749; Sat, 16 Mar 2024 19:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EKja33-uP-CM; Sat, 16 Mar 2024 19:13:38 -0700 (PDT)
Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9FDBC14F701; Sat, 16 Mar 2024 19:13:25 -0700 (PDT)
Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a44e3176120so425822666b.1; Sat, 16 Mar 2024 19:13:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710641604; x=1711246404; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=j7kKs8R9Os6uwB0BE3L4v1wBPiCFvaO8wBNI29shfp4=; b=npQK+vXueuriInmmrlUngAq3NNTrlBtAKBd4KhR+imZxCYo5Uj252dD+cVdoGYr7zL czAPtwDjnuGAYyAZfQ/kFCw5hhN1yfcRi3VYr8qoSPQeu4zQJ5Lc8nORgAUf7tpcX2IS +/HBZk6YWSxX1uRVI34LnshVytUWGbzW3Tkdgcx60NXvykcNWhhzKWHO5H7aQtHIS6Z4 ncoYKqgaDm7SsGLs3uH8Ewozw1ukK/XV3O5f0aAY5afLYmB8DcEn/jM5m6YwyHr39EV4 hLRlMcRhfjwXPQEpL8xW4OOMBBHvu0KW1izmlfwKLtnLBbImHmjmcYZs3/epc7xLG1sd arNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710641604; x=1711246404; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=j7kKs8R9Os6uwB0BE3L4v1wBPiCFvaO8wBNI29shfp4=; b=wdqwSMMrdqc8Ad+Uf2uK6xl8/niEdnzz+kVj6DU7BwV75tx49CimIoPVXdD3fgCfLL l4BJLxZYPgW86yEhyjdOagGuLHCG73sJo7J+WV2TN4GGuAJXABzXFRCoJ7P/1PEfWcq4 m+jHIEtLw+yB04tBe8MVDBimVVOAsCKpQuVC6dCESvrJM4zgt+wGYLt7YvzEx9AUwYvg V/YCbAdVy0A93+JOMrXnqC81KNkWiuByUv/wU5Cw5xDAdDLugNaeZz8W9gty61d+Aj7N pAeZwYQq1XcAKv0QG1JpdleZiRFw+ETp3yBKLMbR3lQI3t5A3odkpOeoYUb0wl2J3jdi 9i/w==
X-Forwarded-Encrypted: i=1; AJvYcCUjJUN9J6JDVjQ26D29ZnpUay+gLLLcA1ybqCRgdnqOWt+xG9PVRgiEWsIscr/watx6jYnIVsojHfleh7xxvUu8v9Gwg+4=
X-Gm-Message-State: AOJu0YyRBBk0PCXpT73xijbkTCfRTAw0B6ksFD0O2n+qie6DYxJfoPXt mAUGA7LtS8ZFpJnCxZvUhu+TohXRUVpIFgwe8VLF4uGXbmpjftMHgKkwAavJUqaok7E2WakytGe nSJbh2edc5uCU2Yzez5YndxI8MikLYjeMYVJFvN6k
X-Google-Smtp-Source: AGHT+IFhKbivzrQ5h4YFNdcfmYm2dhfzPI1Ub1qJ7fu4OCiHHqh4h2u5YrKGlsRprwufPKcvNB7QfWvfW1z+TBRj29Q=
X-Received: by 2002:a17:906:81d0:b0:a46:6174:db64 with SMTP id e16-20020a17090681d000b00a466174db64mr3588377ejx.21.1710641603515; Sat, 16 Mar 2024 19:13:23 -0700 (PDT)
MIME-Version: 1.0
From: Marten Seemann <martenseemann@gmail.com>
Date: Sun, 17 Mar 2024 12:13:11 +1000
Message-ID: <CAOYVs2rioq=Yt-woRgx_KWeO0rMuaNT-Y4re3G3LAj9K66EPEQ@mail.gmail.com>
To: QUIC WG <quic@ietf.org>, WebTransport <webtransport@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001da0080613d1c968"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/18R4qtvynOXKnX0P-0RPaazHf_w>
Subject: [Webtransport] Head-of-Line-Blocking of WebTransport Flow Control Messages
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: WebTransport WG <webtransport.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webtransport>, <mailto:webtransport-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webtransport/>
List-Post: <mailto:webtransport@ietf.org>
List-Help: <mailto:webtransport-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webtransport>, <mailto:webtransport-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Mar 2024 02:13:41 -0000

The current proposal (
https://datatracker.ietf.org/doc/draft-thomson-webtrans-session-limit/) for
transmitting flow control messages serializes the capsules onto the
WebTransport control stream. Since the control stream is a QUIC stream,
this means that these messages suffer from HoL blocking in the case of
packet loss.
Depending on the usage pattern of the WebTransport application, this will
matter more or less.

Here's an alternative way to solve this problem: By allowing WebTransport
to send the flow control messages / capsules directly on the QUIC
connection, these messages can be transmitted independently from each
other. This can be achieved by introducing a new QUIC frame: the MESSAGE
frame. MESSAGEs are kind of similar to DATAGRAM frames, with the important
distinction that MESSAGE frames are 1. delivered reliably to the
application, and 2. retransmitted / updated in case of packet loss.

For more details, please refer to my (very early-stage) draft:
https://marten-seemann.github.io/draft-seemann-quic-reliable-message/draft-seemann-quic-reliable-message.html