Re: Prioritizing HTTP DATAGRAMs

David Schinazi <dschinazi.ietf@gmail.com> Tue, 22 June 2021 15:33 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 553013A0864 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jun 2021 08:33:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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_BLOCKED=0.001, 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 ErnkKMZ5fb2b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jun 2021 08:33:19 -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 9A2FE3A0863 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 22 Jun 2021 08:33:19 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lviGo-0005PL-6k for ietf-http-wg-dist@listhub.w3.org; Tue, 22 Jun 2021 15:25:09 +0000
Resent-Date: Tue, 22 Jun 2021 15:24:58 +0000
Resent-Message-Id: <E1lviGo-0005PL-6k@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 <dschinazi.ietf@gmail.com>) id 1lviDp-0004t8-K6 for ietf-http-wg@listhub.w3.org; Tue, 22 Jun 2021 15:23:31 +0000
Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <dschinazi.ietf@gmail.com>) id 1lviDZ-0000NA-T3 for ietf-http-wg@w3.org; Tue, 22 Jun 2021 15:21:47 +0000
Received: by mail-pf1-x42d.google.com with SMTP id c5so4024930pfv.8 for <ietf-http-wg@w3.org>; Tue, 22 Jun 2021 08:21:37 -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=SYGR5MtPcpu3S1wyGQMM9BklVgfBKQmpDBwyL+d66qc=; b=WdEnK/KPhQ/CTo01aKYlgnMl+0W29byDPZ59csGHuuexnzoZyVn+jJ71x4CvRKnuef CKWoi/0rmZM6qysouDtNhsdBWJbjrN1iCSthGui2Mf2qPJij20R2MR7gLEDTjpTfZzOo aifZfJsBOLcwKNkJ3/m0Z32lIepjDYAkHI7PqUCN2FR3sC6KoMcRwxfN9FlpgtWyiCFN Fo5ozyPzg8cBHLQW65b8bRUTfjbERgyi/gD4CbAMw2N6AOGw+oHM9bxbyw7AFV3dBVoT CM6ssk2Sul83zwyrQQMwiEWZFVyJFQc4M+XOizRrc4GZofqQdPlGoxo4LhXU6pm/aPlU jqsQ==
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=SYGR5MtPcpu3S1wyGQMM9BklVgfBKQmpDBwyL+d66qc=; b=KSSxHT4vjBOAqUAekcgeycAGEM09D8PWTfcyjfgezmm0JbSOlz0bAN3SSVdtAtujkf 7B2FsziAGc6JrtrK5JVuBpJBOxA+uEH3peTokA9kDQ5yClNsjA9LrHh7l/kDu2qhTrru rAKyIB0CvWDAlAD7N1WVUcCBnCQDiOHBjqw2L6Q5yzPItfRb+BL2G9E2cMz4MomhwCuh 3dwHmwmjR790ZLuGU1OUXzPgf1+7huxU012yY7p3sHCnJdM5edXPcsSeg0Kd5e0GOOE3 JKTK+fX37PfEWN3DQEGbdrGevMa6Iwii09v9zYGpI8GI0Dhbl2/MJS6SgNY0kOI3U9XC Tkkw==
X-Gm-Message-State: AOAM530ESaCSuu95q6X0JKukAVYRlJBs+g7gvSPBFyAW1lfNVJAIh+rR 8YIMOAdeM43MB6CVUe/hXi29FR6G2gQblp81New=
X-Google-Smtp-Source: ABdhPJwLlgQSKQOgI2sXSLMoBgIv0oWf6PUVAcySrvIEZPrvo1H74Uy/gM7ivVLNfMiOJnPoEkROno5qXYB6Bts/rvw=
X-Received: by 2002:a62:e717:0:b029:301:964e:49f0 with SMTP id s23-20020a62e7170000b0290301964e49f0mr4188924pfh.22.1624375286475; Tue, 22 Jun 2021 08:21:26 -0700 (PDT)
MIME-Version: 1.0
References: <CALGR9ob=3CywgYvLJpSba6xCGwDEBzdJbuco28BMk9ayMcFe6Q@mail.gmail.com>
In-Reply-To: <CALGR9ob=3CywgYvLJpSba6xCGwDEBzdJbuco28BMk9ayMcFe6Q@mail.gmail.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Tue, 22 Jun 2021 08:21:15 -0700
Message-ID: <CAPDSy+7FFqs3may+L8dm6r-qNiFd-8028+29E35hoa_FQ7-CSQ@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, MASQUE <masque@ietf.org>, Kazuho Oku <kazuhooku@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000eeaf0b05c55c5797"
Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=dschinazi.ietf@gmail.com; helo=mail-pf1-x42d.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=dschinazi.ietf@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.1
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_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_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1lviDZ-0000NA-T3 3210332208338ddeff2687186ca3f12c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Prioritizing HTTP DATAGRAMs
Archived-At: <https://www.w3.org/mid/CAPDSy+7FFqs3may+L8dm6r-qNiFd-8028+29E35hoa_FQ7-CSQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38932
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 Lucas,

I agree with this approach. Getting more deployment experience with
datagrams, and with priorities (separately) is bound to teach us some
lessons about both. Armed with those lessons, we'll be able to write a
separate draft for how the two interact best.

David

On Tue, Jun 22, 2021 at 6:40 AM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

> Hello HTTP and MASQUE,
>
> Over the last couple of months, the question about prioritization with
> respect to HTTP DATAGRAMs has come up first in MASQUE issue # 46 [1] and
> then HTTP issue #1550 [2], which was also discussed during the recent HTTP
> interim.
>
> Extensible priorities is pretty far along it's journey, which has so far
> been focused on HTTP message content (and CONNECT tunnel data, see PR #1544
> [3]). The scheme fulfills the needs of the base HTTP/2 and HTTP/3
> specifications, and so far hasn't considered extensions. Extensible
> priorities acts as a replacement for HTTP/2's prioritization scheme, while
> being the only known scheme defined for HTTP/3. However, there is nothing
> to prevent alternate schemes being defined or used in the future (although
> we hope the need for that can be avoided by the extensibility here).
>
> Endpoints that send DATAGRAM flows concurrently with other flows or
> streams have to make scheduling decisions. Therefore, the question about
> how to prioritize them, and to communicate that via signals, is a good one.
> However, currently the editors of draft-ietf-masque-h3-datagram and
> draft-ietf-httpbis-priority (disclosure: I am co-editor on both) feel that
> linking these two drafts directly is not the best approach for either.
>
> On draft-ietf-masque-h3-datagram issue #46 [1], we resolved the discussion
> by adding text to say that prioritization of HTTP/3 datagrams is not
> defined by the document.
>
> For draft-ietf-masque-h3-datagram issue #1550 [2], the proposed resolution
> is PR #1559 [4]. The PR adds a clear statement that the document is focused
> on HTTP content and CONNECT tunnel data. It also makes clear that
> extensions like DATAGRAM can also use the scheme but punts that to their
> court.
>
> Kazuho and I are seeking some feedback for PR #1559 [4] before landing it.
> We appreciate that this leaves a gap for DATAGRAM priorities, especially
> since DATAGRAM says nothing. But the thought process is that another
> Internet-Draft could fill this gap. This would create an indirect
> relationship that would allow documents to progress independently. I'm
> planning to start a draft soon and have it ready by IETF 111. Which WG it
> should belong to is probably another matter for debate.
>
> Cheers
> Lucas
> Wearing co-editor hat for HTTP/3 DATAGRAM and Extensible priorities
>
>
> [1]
> https://github.com/ietf-wg-masque/draft-ietf-masque-h3-datagram/issues/46
> [2] https://github.com/httpwg/http-extensions/issues/1550
> [3] https://github.com/httpwg/http-extensions/pull/1544
> [4] https://github.com/httpwg/http-extensions/pull/1559
>