Re: Priorities I-D for Thursday HTTPbis meeting (Fwd: New Version Notification for draft-kazuho-httpbis-priority-04.txt)

"Martin Thomson" <mt@lowentropy.net> Thu, 21 November 2019 00:17 UTC

Return-Path: <mt@lowentropy.net>
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 0F9D21208B5 for <quic@ietfa.amsl.com>; Wed, 20 Nov 2019 16:17:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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=lowentropy.net header.b=d/KAhBWS; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=noxgPNY7
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 32xm9TBD1eaE for <quic@ietfa.amsl.com>; Wed, 20 Nov 2019 16:17:23 -0800 (PST)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 518F6120118 for <quic@ietf.org>; Wed, 20 Nov 2019 16:17:23 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AFAE222063 for <quic@ietf.org>; Wed, 20 Nov 2019 19:17:21 -0500 (EST)
Received: from imap2 ([10.202.2.52]) by compute1.internal (MEProxy); Wed, 20 Nov 2019 19:17:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm3; bh=SQGl+ 44hPSkRQFUy9XKlQS37XaHES6XdLIG1BjMN+es=; b=d/KAhBWSkSNSq1SPf07oq 7KIk2NV9iI9SHoNObg7i5SaQfWdY9T+FbEA2teZrSjaGQT9wy4kmBfjQgRnrHYnN JjQEUVpAGeCDlT284CYhv4/dK7fWmtEWv9+z2VDUnyruAEfk41up+h6EkknML6jK fMTPWBiiE7gc6/bcZR8BoFpduV2qMz0CfqTyq6vUVCw+t1bmMHuRcF9EeryNXhR1 bteb1YFZWB8tK4hZWECcDzddHIVdq8gNv/nh7QSddvXfx0xE2TCu++tKZZVVLguE 0KyEawiIgr3eMTpaDBK5d9C8Fdnw+DXX2TWtDGsIBffAYk/0pKK7++7F5U3Dy7l8 w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=SQGl+44hPSkRQFUy9XKlQS37XaHES6XdLIG1BjMN+ es=; b=noxgPNY7peQ5rNQAOg2mqzHYy6qgl8KiRtgCWA9upjArI4ZtvQ8KzieX6 TvjNesLvDJPeXVF6BMmU0ImJhGovEYHSgiNCy/N0s7cgZvsaa6Hszvr040e05AkQ idnE8KqJjCMdAEAYESiyrcSR7b54kqI4dpI9Uq1b1HgZJPpNDo40F1gdZ4ZKulrw 0GHDm8wSAindWlh1cKBgTILa3cXR3RnQ8pDO4Qj8FcCXl7LlfoCzmSz1jDtiuV9q ATD+Pp2CYV6krlSMc+u/az+cflhf+pifHArrKJKC1ykJ0s34g/QeRHApIO3Kqdm2 aHBJOldK8/oaJyOX5ruhbrIvFsxHg==
X-ME-Sender: <xms:kdfVXeZeLEu9EpA8gt4xgDB3Jt6W9JsbVihTYN7XkfD-3LBPp0Tjdw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehuddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfofgr rhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhhofigvnhhtrhhophihrdhnvghtqeenuc ffohhmrghinhepghhithhhuhgsrdhiohdpihgvthhfrdhorhhgnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvghtnecuvehluhhsthgvrhfuih iivgeptd
X-ME-Proxy: <xmx:kdfVXZBnCUMIjH1nAEWFa7Px9hNE7IDY9V39mG36LlE-Oc311rmQtg> <xmx:kdfVXWlzNeWQ2abZvjuTPH3348axtnqo4GRkiobqiWysggzaijSSvQ> <xmx:kdfVXaw3y6M-WTCoqCCc3lnIIa3YRlFlVh6jCF4pWgbGAOwOMMRDJg> <xmx:kdfVXaPPmGPWbGLjLHrtrFLAkX45wogMEfZxNPouTPEif-5yNSPq1g>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 42812E00A3; Wed, 20 Nov 2019 19:17:21 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-578-g826f590-fmstable-20191119v1
Mime-Version: 1.0
Message-Id: <d651767a-8b6c-4e45-b154-ef1ad0bf34a3@www.fastmail.com>
In-Reply-To: <CANatvzyk6xaDby-VVvtuOJ66=YPMqynB9=WMAMxYPxGXYa=BPA@mail.gmail.com>
References: <157425081947.30550.7403247942771684795.idtracker@ietfa.amsl.com> <CANatvzyk6xaDby-VVvtuOJ66=YPMqynB9=WMAMxYPxGXYa=BPA@mail.gmail.com>
Date: Thu, 21 Nov 2019 08:17:03 +0800
From: Martin Thomson <mt@lowentropy.net>
To: quic@ietf.org
Subject: Re: Priorities I-D for Thursday HTTPbis meeting (Fwd: New Version Notification for draft-kazuho-httpbis-priority-04.txt)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/Mu_j4_1LmoNsZ6hORwUS_WNwzJs>
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, 21 Nov 2019 00:17:26 -0000

Kazuho,

Thanks for putting this together.  I only looked briefly, but this appears to faithfully capture what we discussed.

Why did you choose to express this with a dictionary `u=4, i=?1`** rather than a numeric item `4;i=?1`?

Can we look to simplifying this a little more?  I understand that reprioritization was identified as being important by the design team, but I don't recall seeing ever any evidence to support that view.  Can we split that piece out and maybe pursue it separately?

I would prefer to frame the way in which priorities are "merged" (Section 6) differently.  I would instead say that the priority information is input to prioritization decisions that endpoints/intermediaries/etc.. make.  So I would instead say that these entities simply make their own decision about the way to incorporate these signals into their decision.  That's probably a systemic thing that affects more than Section 6; I see that the draft uses "obey" in Section 7.1.1, for example.

There seems - at least to me - to be an assumption on the part of some people involved in this that Priority will be interpreted as an imperative.  That is, that a client might be able to tell a server to act in a particular way and expect to have that instruction complied with.  Same for servers and proxies.  That might be an appealing, but I can't see any way in which we can rely on that.  To the example in the draft, as a CDN, I would expect that the server's view carries more weight than the client's, but I wouldn't necessarily say that this something as absolute as is currently implied.

** The draft is unclear as to whether it is `u=4,i=?1` or `u=4;i=?1`, which you might want to double-check.

On Wed, Nov 20, 2019, at 20:04, Kazuho Oku wrote:
> Dear working groups members,
> 
> After the HTTPbis meeting on Monday, the priorities design team as well 
> as others have had discussions, and have converged on a particular 
> design (header-based, as well as allowing intermediaries to send frames 
> to express per-hop priorities).
> 
> We have submitted a new revision of the I-D that reflects the emerging 
> consensus, that clarifies more about the corner cases and how they 
> should be handled.
> 
> It can be found at: 
> https://tools.ietf.org/html/draft-kazuho-httpbis-priority-04
> HTML version is: 
> https://kazuho.github.io/draft-kazuho-httpbis-priority/draft-kazuho-httpbis-priority.html
> 
> We have asked chairs to give us some time in tomorrow's HTTPbis meeting 
> that we can use to provide an update on the status.
> 
> We are looking forward to hearing your comments either face-to-face, or 
> on the mailing list.
> 
> Thank you in advance.
> 
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: 2019年11月20日(水) 19:53
> Subject: New Version Notification for draft-kazuho-httpbis-priority-04.txt
> To: Kazuho Oku <kazuhooku@gmail.com>, Lucas Pardue <lucaspardue.24.7@gmail.com>
> 
> 
> 
>  A new version of I-D, draft-kazuho-httpbis-priority-04.txt
>  has been successfully submitted by Kazuho Oku and posted to the
>  IETF repository.
> 
>  Name: draft-kazuho-httpbis-priority
>  Revision: 04
>  Title: Extensible Prioritization Scheme for HTTP
>  Document date: 2019-11-20
>  Group: Individual Submission
>  Pages: 20
>  URL: https://www.ietf.org/internet-drafts/draft-kazuho-httpbis-priority-04.txt
>  Status: https://datatracker.ietf.org/doc/draft-kazuho-httpbis-priority/
>  Htmlized: https://tools.ietf.org/html/draft-kazuho-httpbis-priority-04
>  Htmlized: https://datatracker.ietf.org/doc/html/draft-kazuho-httpbis-priority
>  Diff: https://www.ietf.org/rfcdiff?url2=draft-kazuho-httpbis-priority-04
> 
>  Abstract:
>  This document describes a scheme for prioritizing HTTP responses.
>  This scheme expresses the priority of each HTTP response using
>  absolute values, rather than as a relative relationship between a
>  group of HTTP responses.
> 
>  This document defines the Priority header field for communicating the
>  initial priority in an HTTP version-independent manner, as well as
>  HTTP/2 and HTTP/3 frames for reprioritizing the responses. These
>  share a common format structure that is designed to provide future
>  extensibility.
> 
> 
> 
> 
>  Please note that it may take a couple of minutes from the time of submission
>  until the htmlized version and diff are available at tools.ietf.org.
> 
>  The IETF Secretariat
> 
> 
> 
> -- 
> Kazuho Oku