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

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

Return-Path: <lucaspardue.24.7@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B1183A0E5A; Wed, 23 Jun 2021 12:52:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, SPF_HELO_NONE=0.001, SPF_PASS=-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 9P31CAnKBQ7n; Wed, 23 Jun 2021 12:52:57 -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 7DD3F3A0E59; Wed, 23 Jun 2021 12:52:57 -0700 (PDT)
Received: by mail-ej1-x634.google.com with SMTP id hq39so5790574ejc.5; Wed, 23 Jun 2021 12:52:57 -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=AeZ9NcDUlgkGvQXtslpvKkRqMJ2y3b5Ixq5vSpUgO/vdQBWFeso+KI0LcfbT96QF2a p1PGroO3Ox5u31cUlzYFs3bJAPYKcsV7x7XDz/4iAcdWT1EIVb68iiiKTb1PrzRaXuGJ 1rOwFDSwv6ljKYUfIPjoFjfWKtXDzIlwS2rxRRZiowq3JU5R6xrYae/HgYTZbWRSa1hc ujBpQKypQfaC26cy59QIIfBLscFxCJOwsjk1SpC/RFVNgajtPgmgtF6XmAiH7SXg/Cjh 2Otb5mKzXuHM4MC+0XfUN+9yWbOjRNVIMAD8Cji7kuD2hwZyLMoFiUFvIjG7oc7jJqYt dRAA==
X-Gm-Message-State: AOAM532Abi6aJPlhY4b+giNgMaae6jhGMMMsdroa4MI2+geBXxxeOBXi Ee/8e9P0dLRyqsZeVF3jwqtMgs2lTAWiPgdHSuU=
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>
Subject: Re: [Masque] Prioritizing QUIC DATAGRAMs (was: Re: Prioritizing HTTP DATAGRAMs)
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"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/v6e7Ev2e0JlMLhSarH7kssGBkG4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 19:53:00 -0000

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