Re: [Masque] Prioritizing QUIC DATAGRAMs (was: Re: Prioritizing HTTP DATAGRAMs)

Lucas Pardue <lucaspardue.24.7@gmail.com> Wed, 23 June 2021 19:56 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 277CA3A0E81 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jun 2021 12:56:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-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 CKe3q6lP31hQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jun 2021 12:56:41 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C0E53A0E90 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 23 Jun 2021 12:56:40 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lw8wB-0003Bh-H2 for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Jun 2021 19:53:30 +0000
Resent-Date: Wed, 23 Jun 2021 19:53:27 +0000
Resent-Message-Id: <E1lw8wB-0003Bh-H2@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <lucaspardue.24.7@gmail.com>) id 1lw8vw-0003AW-QY for ietf-http-wg@listhub.w3.org; Wed, 23 Jun 2021 19:53:14 +0000
Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <lucaspardue.24.7@gmail.com>) id 1lw8vq-0004JE-9I for ietf-http-wg@w3.org; Wed, 23 Jun 2021 19:53:09 +0000
Received: by mail-ej1-x62d.google.com with SMTP id hc16so5720310ejc.12 for <ietf-http-wg@w3.org>; Wed, 23 Jun 2021 12:53:05 -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=6twVT0hzDnsVRhljDVT99DXyJ4f6nhKFpQ3ueGiCWhc=; b=HRhrtHEqIURqhpXirIb2pJE7npAKAqMHQ96vtNMTc31KT0eelxCtHgKU869qQEYwX+ l8Htp5wU8kSFnp45A5V0I0krYlflnMFsJt7IaPhxE85vMb0B+9Ohjsh9jJIQbFJb5NJM iqU/wzPAriR9gxC8gx8iFtZiat5793EAVRrfJ2eMVFJd+qEKnIjeVPs0L4bf0ZSekt9q dlbacDNly+bjaHeaOW3ugz7DUs99L3O4CWiW6woujWfTkZE/qjTLSPipchWE0tlJGguP SyOFLT379KwMtO9FEchn7QLf6mBZSY0VfrWG6ClgZBs73GDGDr6n5gFF0YAJ8InVpOPW +qdA==
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=6twVT0hzDnsVRhljDVT99DXyJ4f6nhKFpQ3ueGiCWhc=; b=hUc4BCrvzvq6hLMZtpZ/2DLxcGM0c9NQeQIDNUllhq/AlzBBs4s/7Ij2tqmhmz45iC gqZtRfkfdNEnAqU4rvv103Go/iXVHxMDlolEXRMDN5NeMaeiIT2KJ0Ua1P+9XJG9Gwvr czmghHejADd07obcSSYpO7/frxN20hk3K2P9HTXm+APU064BVZPBB49XHzBhPmkoOA81 vRRjzznYg7OFHSNRUWgxVWsEZX+P7aeX1tTp+dXM4fzJ8d8rNQrv3GB9qMQk+hNx3nMJ w3iGsMccJ79txyrRi5K3slSVbUPBhEftwPoXjqj1VH2F6Zh3G9JcJwWQmeD+yKgdXien CFnA==
X-Gm-Message-State: AOAM532r+ofgtqDvLONue5AmnyFM1EGaSWzyrtZHnJGFM/sxxwluSDML M5aK5L3Yvo3NGKxJp+5G0hX1fwuYR9+rHbhQ84MALNrz
X-Google-Smtp-Source: ABdhPJx3/sJy9FuqARKbjwAFBd/PWPF31/0ntfrBbgF22YiOuxWiWmbiB98T1hGyurESty7uUNXRDDOWKH2wOlWGZEk=
X-Received: by 2002:a17:907:3d8e:: with SMTP id he14mr1722431ejc.374.1624477974898; Wed, 23 Jun 2021 12:52:54 -0700 (PDT)
MIME-Version: 1.0
References: <CALGR9ob=3CywgYvLJpSba6xCGwDEBzdJbuco28BMk9ayMcFe6Q@mail.gmail.com> <CAKKJt-d0srxhm==cxyXuJuDiqUk0sEgOAJRY+6ejq21LQVPsgQ@mail.gmail.com> <CALGR9oZOp5YWMWx61Etq42McOi02LOjxtRLL+xHhDpHKS94ukA@mail.gmail.com> <b9d7e589-df4a-0440-b5d4-847cca5a6908@rd.bbc.co.uk> <CALGR9oYRE0hBap+=VEr-KPD7Qp6gZZ_gg_0bcaDoquthKikMJg@mail.gmail.com> <CAJV+MGz=sszxnUn-oSrGbd_az7QPATLB_3VeaHmC4R1Gj0ua8g@mail.gmail.com> <53BD22F8-2BAA-4F9A-9673-77AD781C2EDD@gmail.com> <CAM4esxQTkMEi7y_QSVmYvEgN4U98-BHeTYwpFDRmTOdxjPkHqg@mail.gmail.com>
In-Reply-To: <CAM4esxQTkMEi7y_QSVmYvEgN4U98-BHeTYwpFDRmTOdxjPkHqg@mail.gmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Wed, 23 Jun 2021 20:52:43 +0100
Message-ID: <CALGR9oacZNVAKUD2qAv-ZB8VXs-XZEW+GE9GL_25gHNH13YiOg@mail.gmail.com>
To: Martin Duke <martin.h.duke@gmail.com>
Cc: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, Patrick Meenan <patmeenan@gmail.com>, MASQUE <masque@ietf.org>, Samuel Hurst <samuelh@rd.bbc.co.uk>, Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, David Schinazi <dschinazi.ietf@gmail.com>, QUIC WG <quic@ietf.org>, Kazuho Oku <kazuhooku@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000a3ad0005c57440d2"
Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-ej1-x62d.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=lucaspardue.24.7@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: 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, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1lw8vq-0004JE-9I 4e68f984f1992a80b5e15f9d64e1e619
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Masque] Prioritizing QUIC DATAGRAMs (was: Re: Prioritizing HTTP DATAGRAMs)
Archived-At: <https://www.w3.org/mid/CALGR9oacZNVAKUD2qAv-ZB8VXs-XZEW+GE9GL_25gHNH13YiOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38942
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Martin,

On Wed, Jun 23, 2021 at 5:44 PM Martin Duke <martin.h.duke@gmail.com> wrote:

> Lucas,
>
> 15 months ago, I brought up DATAGRAM priorities as a reason to put the
> stream ID in QUIC Datagrams:
> https://github.com/quicwg/datagram/issues/6. I was happy with where this
> ended up: that QUIC should present a stream-based datagram API to
> applications for prioritization purposes, but that there was no reason for
> the stream ID to go out over the wire.
>
> Alternatively, this could be done on a per-datagram basis.
>
> Granted, this is not currently in the corresponding PR:
> https://github.com/quicwg/datagram/pull/20/files
> I'll review accordingly.
>

Thanks for the reminder.


> ISTM that in H3 use cases the datagram is associated with a QUIC stream,
> and it would be straightforward to use httpbis-priority to negotiate a
> priority that then applies to datagrams associated with that stream.
>

It's easy to say this. The difficulty comes, as an implementer, with
knowing what to actually do with the information. Concrete example, if a
client signals "incremental false" does a server send all streams as FIFO
and then all DATAGRAMS as FIFO, or does it look at DATAGRAM flow creation
order (expect the flow IDs are not strictly ordered as Mikkel points out).
There's a lot of unknowns here and I don't think it is the best use of
folks time on these 2 drafts spinning tires trying to square that circle.

HTTP/3 is shipping without any priorities and the world isn't crumbling.
Prioritization signals are just a fraction of the information that server
implementers take as input.

Servers are going to have to make similar scheduling choices for DATAGRAMs.
That will ultimately depend on how they are being used. IMO neither the
priorities draft nor the HTTP/3 DATAGRAM draft are good venues to consider
this.



> When using QUIC over CONNECT-UDP you have streams on top of streams, and
> H3 priorities are negotiated both with the origin server and the proxy at
> different levels of hierarchy.
>
> Does this answer your question? Or have I totally missed the point?
>

Not sure. The question is really, are folks happy to punt detailed
discussion about DATAGRAM multiplexing scheduling and prioritization
signalling to some new I-D. Are you?

Cheers,
Lucas