Re: WGLC for Datagram Extension

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Thu, 23 September 2021 23:33 UTC

Return-Path: <spencerdawkins.ietf@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 0F59B3A0898; Thu, 23 Sep 2021 16:33:26 -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 efZuq66mNJLh; Thu, 23 Sep 2021 16:33:23 -0700 (PDT)
Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (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 8D2263A0891; Thu, 23 Sep 2021 16:33:23 -0700 (PDT)
Received: by mail-vs1-xe2f.google.com with SMTP id n17so8226367vsr.10; Thu, 23 Sep 2021 16:33:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UAv5gphorX2DyLLVGrSSlO6LJfrOt+ncseUIN7ZZpVo=; b=SJ0an3h+8XimEx+rC3aZUb+oAfzYjiSEIzW1d9XusC9y6supbOaok/TwLuDMQ+qpWN fWkGzh9RBx3ibLx1+9vhlnOGsiiZD3mfUy6FsBC6WrQp3J6hDYooXswJcakq7+lGl1Eh b/TQY83Rr+tj1w3m3GGTRI65dUqndc8RM3hctuhHkikNKGXbpYKvlTJSfECLAsY7t9tj Gjo7mvx3xhnABG6Yd92dSSxP3EWAWgzj8gRq9C7CUpR94hWGSvQnGm70vVEwmCY78K1y l6BJaXDzu+wfx+YDQ4DbdSQC2EA0gRZ8kbTGydH35weJCMfa1cHH4EPYfU4HzTm6wXyL TwVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UAv5gphorX2DyLLVGrSSlO6LJfrOt+ncseUIN7ZZpVo=; b=C2U012gCbp0Y5PT3RoDu3x20AJWXKhbvR/m6idAUrUHRgWdTny8i00OFjF6uxTX4/k x68Cap1e+uR4KCnsNd9KO0bC/JitK34SMvIcrYIDkyhgoU4qknssqxWUEKXk6yD+su95 pBjn3sAs/eBjP7VrnkiIhP9rH/KpOK5LOdxZzRUBx1s1n9a6tKaMJPF3kZ0duVUa7u9A 8ojQMWyWni3pXVoWRMY2k0XK6Zv0vwMqsgG62KkKZdZb8VOg7hYYYwWUcO/DFazuIGYS 2CfXGjwldU8tqihFTsvPVBFYtLqbdBhUeXG+Pe0fsO42LJkGhZsC9Vbq6AXAdYbSape/ UKAQ==
X-Gm-Message-State: AOAM5338iZ+DjJnFcUeAYfDrAzhN5cGFGISJwznnMq81Ap8EDRoZjWnz 0GPKV+6CS0fYkBeZClhkRVI7Koqz1+VyGAHtbByd7vP2XHk=
X-Google-Smtp-Source: ABdhPJysDldpgLlj04XRE74o9xOuKE6CEVAJRJVCxtjysAlgllLoBMOlaqurJtVY4W6qHqe9SQzEvnjDV/agStBqMko=
X-Received: by 2002:a67:2d8d:: with SMTP id t135mr4205158vst.7.1632440002338; Thu, 23 Sep 2021 16:33:22 -0700 (PDT)
MIME-Version: 1.0
References: <CALGR9oaZ4L_yJPhm11Gym8Rxc0nq6H=mCpLGsH_eMGVHer0uEA@mail.gmail.com> <CAKKJt-eDmpNX4EE73s0nm0X8rrXXz1GpEup22Zfu4KDYVsmRmA@mail.gmail.com> <CALGR9obyy0gmWrnmzrWaM-Cjgp1ofNTnN7Y+QbwU2u37mZU_ig@mail.gmail.com>
In-Reply-To: <CALGR9obyy0gmWrnmzrWaM-Cjgp1ofNTnN7Y+QbwU2u37mZU_ig@mail.gmail.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Thu, 23 Sep 2021 18:32:56 -0500
Message-ID: <CAKKJt-enVHks1F-yvh9_bEKkP0znY+5m-hjVpS_sR7A5SNsFiw@mail.gmail.com>
Subject: Re: WGLC for Datagram Extension
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: QUIC WG <quic@ietf.org>, QUIC WG Chairs <quic-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000074e30005ccb20ec7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/i7b-hiNDO0x26x_0QZ3RAwoUBZo>
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: Thu, 23 Sep 2021 23:33:26 -0000

Hi, Lucas,

I'm top-posting to say that I'm not talking about multiplexing datagrames
now (except to thank you and Christian for your replies), but I'm still
looking at the datagram draft, and noticed something odd. Could you put
your working group chair hat back on for a moment?

>From the Introduction:

*This document defines two new DATAGRAM QUIC frame types, which carry
application data without requiring retransmissions.*


And most of the document about "datagram frame types" (plural), but pretty
much all of
https://www.ietf.org/archive/id/draft-ietf-quic-datagram-04.html#name-datagram-frame-type
talks about "the datagram frame type" (singular) - even the section header
uses the singular phrasing, along with the caption to Figure 1.

I understand what the document is saying, to be

   - there are two datagram frame types, 0x30 and 0x31
   - the only difference between these two datagram frame types is that
   datagram frames with frame type 0x30 do not include a length field, while
   datagram frames with frame type 0x31 do contain a contain a length field,
   and
   - otherwise, whatever this document says about "datagrams" is true for
   both datagram frame types.

Is that about right?

I can dig that out from the document, but if that was clearer in Section 4
- "Datagram Frame Types", and a couple of clarifying sentences, that might
be a bit easier for the reader (and, of course, for the various review
teams that will be looking at this document for the first time during IETF
Last Call).

As long as I'm still typing, I might mention one other thing - I searched
for the string "reliabl" in the draft, and there are 24 occurrences, which
is fine, although perhaps repetitive, until you get down to
https://www.ietf.org/archive/id/draft-ietf-quic-datagram-04.html#name-behavior-and-usage,
which says

When an application sends an unreliable datagram over a QUIC connection,
QUIC will generate a new DATAGRAM frame and send it in the first available
packet. This frame SHOULD be sent as soon as possible, and MAY be coalesced
with other frames.


Could "unreliable" be dropped from the first sentence? It would belong
there if reliable datagrams were an option, but (after 20 occurrences
explaining that all datagrams are unreliable), maybe this is just inviting
confusion.

Thanks for considering my comments, of course. Do The Right Thing!

Best,

Spencer

On Thu, Sep 23, 2021 at 1:12 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

> Hi Spencer,
>
> On Thu, Sep 23, 2021 at 6:52 PM Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
>
>> Hi, Lucas and Matt,
>>
>> On Thu, Sep 16, 2021 at 3:35 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
>> wrote:
>>
>>> Hello QUIC WG,
>>>
>>> This email starts the Working Group Last Call for "An Unreliable
>>> Datagram Extension to QUIC", located at:
>>>   https://www.ietf.org/archive/id/draft-ietf-quic-datagram-04.html
>>>
>>> Please take time to review it carefully and raise any remaining issues
>>> you see either on the GitHub repo issues list[1] or on this mailing list.
>>>
>>
>> I've re-read the discussion in
>> https://github.com/quicwg/datagram/issues/6, and now better understand
>> the points of view that resulted in the lack of datagram multiplexing in
>> this specification (I was following that discussion when it was happening,
>> but hindsight during re-reading helped a lot!)
>>
>> I especially appreciate the addition of the text in
>> https://www.ietf.org/archive/id/draft-ietf-quic-datagram-04.html#name-multiplexing-datagrams
>> .
>>
>> I accept the wisdom of getting more experience with various people using
>> application-defined multiplexing in various ways before adding any flavor
>> of multiplexing at the transport layer, and agree that holding this
>> specification up while that experience is gathered, would not be The Right
>> Thing To Do.
>>
>> I'm aware of at least two "RTP over QUIC" proposals that assume that
>> they'll need to multiplex datagrams, so I won't be surprised if we return
>> to this question in the future, but for now, the chairs are Doing The Right
>> Thing, and I support requesting publication of -04 (modulo any changes that
>> pop up in WGLC, of course).
>>
>
> Thanks for your comments.
>
> Chair hat off, speaking as an individual. To add to the examples, the
> MASQUE working group is working on a draft to define HTTP's use of QUIC
> DATAGRAM frames and it includes multiplexing [1]. The working group's 00
> draft started with a single variable-length integer multiplexing identifier
> called the Flow ID. After some fruitful WG implementation and discussion,
> in draft 01 it switched to an identifier tuple (Quarter Stream ID, Contenxt
> ID). I'd say that we're still figuring out exactly how the things the
> __use__ datagrams, want to use datagrams. I think it's too early to
> understand the right common transport solution at this time, and that
> leaving it undefined does not prevent people from using datagram frames for
> their own precise needs and purpose.
>
> Cheers,
> Lucas
>
> [1] - https://datatracker.ietf.org/doc/draft-ietf-masque-h3-datagram
>