Re: HTTP Priority - proposal to support headers and frames

Ian Swett <ianswett@google.com> Tue, 05 May 2020 17:58 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 262093A0AD4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 5 May 2020 10:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.252
X-Spam-Level:
X-Spam-Status: No, score=-10.252 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 GS3HLLZ5npCW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 5 May 2020 10:58:32 -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 D39A33A0B39 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 5 May 2020 10:58:31 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jW1nE-0008Qv-JY for ietf-http-wg-dist@listhub.w3.org; Tue, 05 May 2020 17:55:44 +0000
Resent-Date: Tue, 05 May 2020 17:55:44 +0000
Resent-Message-Id: <E1jW1nE-0008Qv-JY@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 <ianswett@google.com>) id 1jW1nD-0008QH-TL for ietf-http-wg@listhub.w3.org; Tue, 05 May 2020 17:55:43 +0000
Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <ianswett@google.com>) id 1jW1nC-0002CH-3K for ietf-http-wg@w3.org; Tue, 05 May 2020 17:55:43 +0000
Received: by mail-wr1-x429.google.com with SMTP id x17so3821355wrt.5 for <ietf-http-wg@w3.org>; Tue, 05 May 2020 10:55:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UF01IwPaaibH3XmIaM3Ch/qfTcMn5eKAyGk3M1Q9rD4=; b=JKFYlFnh6jUcUADYGXPjEIbfVzNGqNGcsuqTZ97j9xwD5BaBKJgE1onct9JmTZSw3S WpfU1mDv9PNaF+ruKkK2No5R0LEZTa1pWElvtbwUYlJ0LTAD3W4mZT/owSPVuHWqAEZI VmOL9EYrBfXt6IQonynEAqvETwPTYw0arXQdeIAEJqM40DoJOsmW9EXo+C7XIYPoLhRS 8UGjCGFfyiqzvMc/5wKc6Xj3wPox+sZvGpceDupNhJ4W4KEJliJWJvb6185BFLP3xFBq rIqLVG4pJ2zeA16KXlNFQYS6jaU8a/QfdBiosfsim28n5eg/BCAx9iXN1Ria4qwoUeKx OJiw==
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=UF01IwPaaibH3XmIaM3Ch/qfTcMn5eKAyGk3M1Q9rD4=; b=kbkQte4irqtvPi16pfD8PKZ5KuZ4amw+XEIevLO3pEO+HzFYMbbV9pt3kZoR+5pDFf 2/yhoIUpLbQOv46e5c1UsCo3JT+7KKLv9mZQd2XmWQhqdXcH+UojUlegIt0zzrfANLpk uLV408JScPBmDGjWUaQPWBe5L3BypdEZEL551a7G3SK8RfTJ5BHtPMHEBQK6ms3U3XDd qH1m7Cm8W4kqe/XxT0LpvP+qK26uwitP30h+ZJ9Ymf3q9lA7TcfJxCaSYE87ZsPBmg6b bm23Bv+gy8bZM/tkdPbiBN4WcJ8vN6AnsSFpnrEBxVsORcrvuHGiDs3C+nMA23p8pwIy ZI+g==
X-Gm-Message-State: AGi0PubiLnNnp6iGVslUgyt1Y4dR5jDPt9ukLsmLuolonFerR6Od+mXo alQIkoJdfOmwUD9uBPhyZcwDVir8VY4nffyHcUJfsajM4r8=
X-Google-Smtp-Source: APiQypKvwkiwXuOFN2nqLZuMhb6PteGKGaHwPeO8mkHmbaAOI6T4PUCpIVnE/nIesMTuGsb19XHYff2cPzhnKuYCvSs=
X-Received: by 2002:a5d:6a92:: with SMTP id s18mr4621176wru.50.1588701329337; Tue, 05 May 2020 10:55:29 -0700 (PDT)
MIME-Version: 1.0
References: <CALGR9ob6uU6QtSJA2_7O8PdkAz15Y3kZ1ORoCCfqqRWAU-cuhA@mail.gmail.com>
In-Reply-To: <CALGR9ob6uU6QtSJA2_7O8PdkAz15Y3kZ1ORoCCfqqRWAU-cuhA@mail.gmail.com>
From: Ian Swett <ianswett@google.com>
Date: Tue, 05 May 2020 13:55:16 -0400
Message-ID: <CAKcm_gPhcrsUW4V6VE-hgQE+o=g3Bxit65pC3Fjzw6a_Ks8TJQ@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000006444fd05a4ea5a4f"
Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=ianswett@google.com; helo=mail-wr1-x429.google.com
X-W3C-Hub-Spam-Status: No, score=-19.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jW1nC-0002CH-3K 77407ef023b886a628da5a26f85eabbe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Priority - proposal to support headers and frames
Archived-At: <https://www.w3.org/mid/CAKcm_gPhcrsUW4V6VE-hgQE+o=g3Bxit65pC3Fjzw6a_Ks8TJQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37566
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>

I support this clarification and supporting both and documenting their
properties is the right way forward.

This clarifies/enables some use cases we were having trouble with, such as
allowing a proxy to both indicate the original request priority to an
origin(via the header) as well as prioritize requests within a multiplexed
proxy to origin connection(via the PRIORITY_UPDATE frame).

Thanks for moving this draft forward.

On Mon, May 4, 2020 at 12:07 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

> Hello WG,
>
> If you recall, in March we published draft-ietf-http-priority-00, which
> fixed a few issues that we gave an overview on the mailing list [1].
>
> One of the remaining issues is concerned about the use of headers vs
> frames. Tracking the range of different threads, the answer seems to having
> an ability to use either.
>
> PR 1167 is a proposal that tweaks the PRIORITY_UPDATE frame in a few ways.
> The most interesting tweak is to make it more explicit that the frame can
> be used to signal the initial priority of a request [2], this frame can
> only be sent on stream 0 / control stream. This reflects my understanding
> of how Chrome is using the PRIORITY_UPDATE frame today.
>
> This proposal avoids sending a new priority frame on the request stream.
> Doing that adds some complication for H2. Further, H3 would have to deal
> with the possibility of out-of-order delivery anyway, so having another
> frame does not help it.
>
> We welcome comments on the issue, the PR or in this thread.
>
> Cheers
> Lucas
>
> [1] -
> https://lists.w3.org/Archives/Public/ietf-http-wg/2020JanMar/0171.html
> [2] - https://github.com/httpwg/http-extensions/pull/1167
>