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

Lucas Pardue <lucaspardue.24.7@gmail.com> Wed, 23 June 2021 20:29 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 AFBDD3A3F6D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jun 2021 13:29:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.75
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, 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 RUCnOXhPRttY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jun 2021 13:28:58 -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 C784F3A3F6B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 23 Jun 2021 13:28:58 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lw9Rf-0006LI-3c for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Jun 2021 20:26:01 +0000
Resent-Date: Wed, 23 Jun 2021 20:25:59 +0000
Resent-Message-Id: <E1lw9Rf-0006LI-3c@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 1lw9RM-0006KX-49 for ietf-http-wg@listhub.w3.org; Wed, 23 Jun 2021 20:25:50 +0000
Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) 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 1lw9RD-0005s0-8m for ietf-http-wg@w3.org; Wed, 23 Jun 2021 20:25:34 +0000
Received: by mail-qk1-x72a.google.com with SMTP id g4so8632160qkl.1 for <ietf-http-wg@w3.org>; Wed, 23 Jun 2021 13:25:30 -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=zEjFqQB7MtBeYAHTQckR/dyh0C9Th2veP32qebev618=; b=Em0fFyeI8o5si8eoILPVAT9UA5MTmQBmFgqdGwImJTCd27WV0s09ITQVR+lLHTmoxv Cf5G1WnRFev+NicCNWAslYn36n8+eYoN7qGTGU6NjKhsBwhf8rHd7a/T5JBZ+HjTft0a 7tDEqs4jKh4FVbzKFj9sMWYdJNH/A0RTA7JCoLJjobFGNZMPNE1hOoZbNSeO4jsuKRj+ CMR0S4y014ingJECTpheWUsVbMOiyIUYN66UBzwWye5vW3oD1yDrozAAxRF44EZ3xWAc SqDmBnUtR0QPb6fEjnt4uykdiaAkgejlagcInZBZf9vFkTdMQaOQyRVfrj0Xl/LejbYL EDBA==
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=zEjFqQB7MtBeYAHTQckR/dyh0C9Th2veP32qebev618=; b=C6rTQL2J8eYSoeukMQGK4tFp4TttVDHwIHecL69CKHZx3EoIST4u/7ecm420sKB4h5 N7lK+u3Vd7G+sp3ZfqE3nC5s22yqcQE8n2aVSwyiGouNigrs1T97kRZK4KnxzxL+/ljM ESRZb/8GdwfWSc87MdMb7KM0c6b4kMFt81gV0N2frS/rjn+I1ZUVwJhYl22xRHMMHvDr qgUxvw8n+PGvHRtN4lyMyK5oT0AyWOQa1KViSTPyWOC3Zmol4eKRWRUqRwf9OCSbfksl lXaT9H05DWSH3IlqFVLFifygHWSrXQ8ohCryuk76+Oe5MmGouYWCzm3x5gKg+lBmtgcY 7/Ig==
X-Gm-Message-State: AOAM532fpVPKJH/vywuGo3ID1h7EOnlCSV70yOhdmlZ2QH9ieRS1g8Rb T0U9jUvHUzQpwhgUO3hOp+5eDWE0R2LgFlSoUiU=
X-Google-Smtp-Source: ABdhPJw40+QIJYYptd7iwaeSAcqolqkuXdYpB/nbVe/CEPPl4XDiUPxa25e3IvU3/NHJ0IpLa4zjYFnU06UUDaaf59s=
X-Received: by 2002:a5b:b44:: with SMTP id b4mr1725574ybr.440.1624479920381; Wed, 23 Jun 2021 13:25:20 -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> <CALGR9oacZNVAKUD2qAv-ZB8VXs-XZEW+GE9GL_25gHNH13YiOg@mail.gmail.com> <CAM4esxQ=Z=_pn65pF=yMe3OcgLN3jfXkYpSs+d6FqgC7r18_qQ@mail.gmail.com>
In-Reply-To: <CAM4esxQ=Z=_pn65pF=yMe3OcgLN3jfXkYpSs+d6FqgC7r18_qQ@mail.gmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Wed, 23 Jun 2021 21:24:46 +0100
Message-ID: <CALGR9oZPRU-6kODqSBwW5xeEhVcyZb7vHx65H-AajhcmiKUfFw@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="00000000000099624705c574b474"
Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-qk1-x72a.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 1lw9RD-0005s0-8m bc2c13f201d0e38288242aa5c9eb2b36
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/CALGR9oZPRU-6kODqSBwW5xeEhVcyZb7vHx65H-AajhcmiKUfFw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38943
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>

Hey Martin,

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

> Lucas,
>
> Assuming that we have the necessary language about QUIC APIs, as I've just
> proposed, to enable something in future, then I personally have no use
> cases or strong objection to punting. It is somewhat annoying to have a
> draft for priorities, datagrams, and then priorities-with-datagrams, but if
> writing the last bit will be a struggle (which I have no informed opinion
> on) deferring it is probably the right decision.
>
> Now descending into the weeds:
>
> > 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
>
> No, I think the DATAGRAMs correspond to a stream and they go with the
> STREAM frames in with priority. Whether one delivers STREAM or DATAGRAM
> first within a particular stream maybe doesn't need tight specification; if
> we do, I'd say STREAM (if for no other reason than to deliver the headers)
> and then DATAGRAM, unless STREAM is being flow-controlled. As datagram
> flows don't have a 1-to-1 mapping with requests and responses, I think
> streams are the correct abstraction for datagram priority, not flows. If
> there are multiple Flow-IDs associated with the same stream, they all get
> grouped together for priority purposes.
>

I think this model breaks down entirely for something like WebTransport
where the session is created with a single stream and then there'll
potentially be multiple datagram flows in either direction all vying for a
slice of the pie.

Cheers,
Lucas