Re: [Webtransport] Use of HTTP priorities in WebTransport

Lucas Pardue <lucaspardue.24.7@gmail.com> Thu, 01 April 2021 23:40 UTC

Return-Path: <lucaspardue.24.7@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 9FCD63A2801 for <webtransport@ietfa.amsl.com>; Thu, 1 Apr 2021 16:40:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level:
X-Spam-Status: No, score=-1.847 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T-khPz8OevDq for <webtransport@ietfa.amsl.com>; Thu, 1 Apr 2021 16:40:22 -0700 (PDT)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40D883A2802 for <webtransport@ietf.org>; Thu, 1 Apr 2021 16:40:22 -0700 (PDT)
Received: by mail-ej1-x634.google.com with SMTP id u9so5254819ejj.7 for <webtransport@ietf.org>; Thu, 01 Apr 2021 16:40:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bIL42/tPD840VIcCji/aqOmvJf3GYU2klh59DT+PbaI=; b=Nb1EYTCUehLB9Tkb/i/Uj0r7OVuU/Axx18GlK4utCKQr/e6FOZ6l35tHLUqD1rwTxo AZTiI5wTLBEiE/wKNYDRJ5/uOS6oG6SVIslHhgDh2FafvyBlhhH0P0xhwfijjM01iUnj xc5xqFpdapMro400+EkBaPtSJaEcFpzt+8c3NvpqRQACDbVI7xAjnfFXiaIp3AovizFS CdpsF585xOp8qwXCDSSMmyEz5/cX7sP2zciYfs4pXIXUjHKtUuoZbp9ztvDAT0MzePFA 81ZUK9vNdEyKrlPvfVUqBhG80AmDyKbK60phG1jYaudZiFmFt16bmRRxq7WYnr8bsSu5 GP0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bIL42/tPD840VIcCji/aqOmvJf3GYU2klh59DT+PbaI=; b=Tmykl0qSS5xUsXy6T9qDp5NKJQT/cGOISGPXcfq2dQdLtsWArxYpPw1mvnI5c7dAaV r79b0AuyDGY+WlJgoUX7jThz4obXa9hDTYw2NxRdVNXE43HXqz0NUXwhfge5BffSJXsE PGjI3xyMlAF7hq382vTsgxDWepQXIyhhrF45O4spgt5qiHK4gsYzNK5k+Nny9G3umimi h6HVv5z7x39hX/QPs9bB4vMgkYMoL96n6VRp+iazv8skKQyvHEKOFkLDq4cSVI8dZYFh 59P8ObJ/i0wl4vJQQOPbDWZz5wENJb0W+14vh9K6DSBAZjtKvZTozSoz9+UPN7wLwael NXLg==
X-Gm-Message-State: AOAM5331haBU42uk3WvgGjxy626L325X7o62d7ObvELi5l+rq7FuPueN ByU5h84Hnply5jBKOpb4NTpdv7DQvNtUHT/NIIII7r69
X-Google-Smtp-Source: ABdhPJy/hHbaNSCUC9w0lFxTLJo9aMmnSZCBgxV/PRFybWDFW+217OlDrazALmmeORfmtR71BH+3tMOod5t2k/Iki1M=
X-Received: by 2002:a17:907:2955:: with SMTP id et21mr11554128ejc.448.1617320419075; Thu, 01 Apr 2021 16:40:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAKcm_gOMcFYF2YROhsbVW15Q+tnWfwGsHhrjxQwq1jJAyvLvVQ@mail.gmail.com>
In-Reply-To: <CAKcm_gOMcFYF2YROhsbVW15Q+tnWfwGsHhrjxQwq1jJAyvLvVQ@mail.gmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Fri, 02 Apr 2021 00:40:08 +0100
Message-ID: <CALGR9obOXRk=ZxL8Sj9zhsP-wQyv_09doZuzfCSRzquw4CZFYw@mail.gmail.com>
To: Ian Swett <ianswett=40google.com@dmarc.ietf.org>
Cc: WebTransport <webtransport@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000112d8605bef1c1ef"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/NKB-z2qM0MtcL82vCGtoNA1YxMI>
Subject: Re: [Webtransport] Use of HTTP priorities in WebTransport
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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: Thu, 01 Apr 2021 23:40:28 -0000

Hey Ian,


On Thu, Apr 1, 2021 at 6:01 PM Ian Swett <ianswett=
40google.com@dmarc.ietf.org> wrote:

> Now that WebTransport is targeted at HTTP/3 and not QUIC, it seems logical
> to build on the prioritization work in the HTTP priorities draft(
> draft-ietf-httpbis-priority
> <https://tools.ietf.org/html/draft-ietf-httpbis-priority-03>).  This
> could be particularly important when pooling HTTP/3 with WebTransport, but
> I think that priority model is a good one for WebTransport by itself as
> well.
>
> Except for bidi streams, most of this priority information wouldn't need
> to be sent on the wire, but it could be used by local schedulers.
>
> Thoughts?
>

The HTTP priorities draft is very specific in that it defines an asymmetric
signal from client to server. So I'm curious how you picture it applying to
WebTransport. You're right, the general prioritization scheme might be a
good fit but I'd like to understand the requirements better. Is it only a
local priority configuration from the send side? In which case, this seems
like a W3C API issue. Or is the requirement to support sending priority
signals that instruct the peer to do something too? The hardest case to
solve is a server-initiated bidi stream that wants to signal a priority to
the client. Since WebTransport over HTTP/3 is an extension, you might get
away with changing the rules for PRIORITY_UPDATE. You could define a new
frame that carries the same information, or include it in the WebTransport
stream itself somehow.

Cheers,
Lucas