Re: [Webtransport] Use of HTTP priorities in WebTransport

Bernard Aboba <bernard.aboba@gmail.com> Sat, 24 April 2021 01:31 UTC

Return-Path: <bernard.aboba@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 30EA73A1939 for <webtransport@ietfa.amsl.com>; Fri, 23 Apr 2021 18:31:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LRuVUQw7XoDi for <webtransport@ietfa.amsl.com>; Fri, 23 Apr 2021 18:31:25 -0700 (PDT)
Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 071903A1933 for <webtransport@ietf.org>; Fri, 23 Apr 2021 18:31:24 -0700 (PDT)
Received: by mail-lf1-x131.google.com with SMTP id x19so49737402lfa.2 for <webtransport@ietf.org>; Fri, 23 Apr 2021 18:31:24 -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=jutd4ke2QLLYFOee6kEE6pX2ceP4mw8ZfTQaXPn7g5Q=; b=Rr6oD41KHgrgRMnZ5cbJOhW9HpjkQ9NdneO76u8K7WSJfIbcsPcEi8cRd0gEv9BitO aM3EfFiHSi9UpoP0POfL65ilaUpYuoM1IdQXFQqRzu005TaH9zdQAWiT8g/VbbmjPZlX 5LbSbiKqV5jj7msWf3aWkZki8tBciHqN5To0NRskRBAbFio/MLKkVmMbUNwCPzslnbJC vMGvyK6RczbBS9sEXOitjC9vxqAz+p+W72uTDxA43yLC2R6l6OAYYYsEzdAsinVerP+i /GdbYEkMy58ti7Dsti/a8+SxSkQeuEFEnX2Wyt5gSEgizNILwEqi0fduV+qgrwYR2PW3 D7Ug==
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=jutd4ke2QLLYFOee6kEE6pX2ceP4mw8ZfTQaXPn7g5Q=; b=PwGTB35MIrk5XkvwuW0YfsYLgP8Zqq5FISzkpV9js5ycAAbYTfz6IHiKyEEfZf7O+P QOJllfWMhle+A7cj8uiXIHQggFVTJwRYPgYwbTHsxKobM/2LcLdxoFI2Xp22srpYtzEp OKvfwiYuL5UVy7FxV7RsmnbMT5L7fpvWCCvjjaWsicYtFTDCqc+E0qMTRRWLT5uzfGYB EVdsHMf80v3MPdLVibaQSQVj+jJbHpugm5GXxKVFmMPsY6ycw57N5JpnuywXKnG/JaEq u0O9pbVh2MY7KDLy1mUvH5FCr+CC3ZIVz7kMCw6IUfEebo5+0hTiCLpWJLS05EEVXqXa Gz5A==
X-Gm-Message-State: AOAM531vmklQQEUEM+/TSlCj695dOfpy5of6+AfdhwMpK82kCzaX+QAP VQH3A+aKGuCy3aJRHjp9cszD3ElD6OlEtR6o3W0=
X-Google-Smtp-Source: ABdhPJz5EmIBL8AcuBKaeh1fEUCjULuAH5H3wNLbXyGz5P8S5v5oZQmZOoIFxIVjIi/jIsXmXS2UIe37TWfyw80t/jE=
X-Received: by 2002:a05:6512:3ca9:: with SMTP id h41mr4910185lfv.145.1619227882329; Fri, 23 Apr 2021 18:31:22 -0700 (PDT)
MIME-Version: 1.0
References: <CAKcm_gOMcFYF2YROhsbVW15Q+tnWfwGsHhrjxQwq1jJAyvLvVQ@mail.gmail.com> <CALGR9obOXRk=ZxL8Sj9zhsP-wQyv_09doZuzfCSRzquw4CZFYw@mail.gmail.com> <CAHVo=Zmo0Nta92_Ub0m8v6+=hjQ1iR6R9Aa==fe_-VXkhJEJYQ@mail.gmail.com> <CAKcm_gN9Ro1+ceNd_Q80oLF6Su6LiqV7UV4zN_g6Fz1K_6e4jg@mail.gmail.com>
In-Reply-To: <CAKcm_gN9Ro1+ceNd_Q80oLF6Su6LiqV7UV4zN_g6Fz1K_6e4jg@mail.gmail.com>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Fri, 23 Apr 2021 18:31:11 -0700
Message-ID: <CAOW+2ds2yn5Cr-VjqB51WmB=d++TXKxscb5zX7BsAFuNGeXzvQ@mail.gmail.com>
To: Ian Swett <ianswett=40google.com@dmarc.ietf.org>
Cc: Luke Curley <kixelated@gmail.com>, WebTransport <webtransport@ietf.org>, Lucas Pardue <lucaspardue.24.7@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000bc9b2205c0adde24"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/JudZRpArpr8tjTmVdgmdFoRzXrs>
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: Sat, 24 Apr 2021 01:31:27 -0000

Ian said:

"I agree this is potentially more of a W3C issue to standardize an API than
an IETF issue."

[BA ]I'm aware of an example of a priority API
<https://www.w3.org/blog/news/archives/8969>.  But implementations seem to
be scarce.  Is there an example of a successful W3C API
supporting priority?

On Fri, Apr 23, 2021 at 2:03 PM Ian Swett <ianswett=
40google.com@dmarc.ietf.org> wrote:

> (sorry for the delay, now caught up from leave)
>
> I agree this is potentially more of a W3C issue to standardize an API than
> an IETF issue.
>
> I agree that most of this information would not be sent on the wire, but
> as we add functionality to HTTP(ie: WebTransport and MASQUE), it becomes
> increasingly important to understand how prioritization might work.
> Ideally no explicit signals are necessary and each endpoint knows what to
> do, and we can fit WebTransport(and MASQUE) into the existing scheduler so
> when multiplexed, there's no ambiguity about what implementations should
> send first?
>
> My concern is if there are no rules or APIs for prioritization, different
> implementations may make different choices, and the more things which are
> multiplexed on a single connection, the more important it becomes.
>
> Ian
>
> On Mon, Apr 5, 2021 at 3:47 PM Luke Curley <kixelated@gmail.com> wrote:
>
>> I think stream prioritization is an important next phase for
>> WebTransport. But like Lucas mentioned, I'm not sure it needs to be handled
>> at the transport layer.
>>
>> Currently, the server can prioritize sending stream data based on any
>> scheme it wants. The browser could inform the server which prioritization
>> scheme to use for a given stream, but I think that use-case can be
>> negotiated at the application level instead.
>>
>> The browser definitely needs an API for prioritizing sending stream data
>> though and a simple scheme like the priorities draft would be a good
>> starting point.
>>
>> On Thu, Apr 1, 2021 at 4:40 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
>> wrote:
>>
>>> 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
>>> --
>>> Webtransport mailing list
>>> Webtransport@ietf.org
>>> https://www.ietf.org/mailman/listinfo/webtransport
>>>
>> --
> Webtransport mailing list
> Webtransport@ietf.org
> https://www.ietf.org/mailman/listinfo/webtransport
>