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

Kazuho Oku <kazuhooku@gmail.com> Thu, 21 November 2019 02:15 UTC

Return-Path: <kazuhooku@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 DD54A12018B for <quic@ietfa.amsl.com>; Wed, 20 Nov 2019 18:15:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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, 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 UJYje-l7CUvg for <quic@ietfa.amsl.com>; Wed, 20 Nov 2019 18:15:55 -0800 (PST)
Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 E508F120077 for <quic@ietf.org>; Wed, 20 Nov 2019 18:15:54 -0800 (PST)
Received: by mail-lj1-x234.google.com with SMTP id g3so1327403ljl.11 for <quic@ietf.org>; Wed, 20 Nov 2019 18:15:54 -0800 (PST)
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=GlENh9k5sHGhOg/Wo9vn2qWBflSJMiYDJkw0NBx1Bnw=; b=FoUT28bbnF/YUf5z9DUSWfTK4GPZQxnxLVqw8bwKiDUC2o8ty6Rr8Mui+22xJn98d/ gLg1a2qn0yoxw0zLRBNwYum57pJMO5w9SQeCizl1F1pxF9424ErANV1jVV9KgWK51It9 5z+zSW9IBTRm77+P+pmkKLel2qveN5x5u3AQNefiva40Hn9NZg9pSrUcAOiEqVddM55u kttf6U8t3UJiT9ApeHP9SBnYO/trCAYphID9jz3OtTsO62VqOt30+MN7j2wBObV0VPwo EnKVtnHVZVdB9yD36s3BHuj12R+6kaZliVgF1g5+CeSQR7znVCk518DWQX39VKUxpvQ8 1Dew==
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=GlENh9k5sHGhOg/Wo9vn2qWBflSJMiYDJkw0NBx1Bnw=; b=TlionDA4eDQpNGvyEqPWy5pwKy1OFEuDOIP/KWVMDZ7q58u7Fhgm7bVd1Mwv2caVuW mHPZM6gX9j8u4JSpcjcbtMX+OlwZGdrNARRiZs+dyUpJin+BLWhao7IHAmXRVnxDC7VE C/uBvK1bFnuNHaRTxYqtlYIGJQI4nK9YTtapgULlAShgYKsENwkriWMbt0zrAkEBbLLV yq5c06dxQtluYQbbwJDj6hVLrokvo38P7UbUYVyvwsFLhRgMf6zAelKfKEXoXI6Ws6YY u7+Ho/qxbeZKwblxpJnO7M0ntb6hjI1J7/TVxkzdzx0OFF3duPGzkVSwIHyGB2YdljG9 4YGQ==
X-Gm-Message-State: APjAAAVaDljJoz4kAYx37GinlQawT8xYQCvLI7bXSUzpHJZCCnPSCa6X e5FwzYiev7lsZORhSxJxmAEtKmefvkClQxeipTs=
X-Google-Smtp-Source: APXvYqxU0iWLEZHiUmyEI+1E9sUF0CG8xDoYPvKK08igpJX9tlCqJP24ykTWyegXOJnnjziii/YCVXxz4IgDdUxiAS4=
X-Received: by 2002:a2e:9e8f:: with SMTP id f15mr5130966ljk.9.1574302553172; Wed, 20 Nov 2019 18:15:53 -0800 (PST)
MIME-Version: 1.0
References: <157425081947.30550.7403247942771684795.idtracker@ietfa.amsl.com> <CANatvzyk6xaDby-VVvtuOJ66=YPMqynB9=WMAMxYPxGXYa=BPA@mail.gmail.com> <d651767a-8b6c-4e45-b154-ef1ad0bf34a3@www.fastmail.com>
In-Reply-To: <d651767a-8b6c-4e45-b154-ef1ad0bf34a3@www.fastmail.com>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 21 Nov 2019 10:15:40 +0800
Message-ID: <CANatvzwqzrkf_JpAcR+K=T5RbHtTAXyL7ZPE7NTcCfXfEB5JSw@mail.gmail.com>
Subject: Re: Priorities I-D for Thursday HTTPbis meeting (Fwd: New Version Notification for draft-kazuho-httpbis-priority-04.txt)
To: Martin Thomson <mt@lowentropy.net>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007371cf0597d1e0fd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/q8DKc7Lj4WuyTlgRj3qXdDMh2dk>
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 02:15:58 -0000

Hi Martin,

Thank you for your comments. My personal responses inline.

2019年11月21日(木) 8:17 Martin Thomson <mt@lowentropy.net>:

> 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`?
>

The primary benefit is to let the server update the "i" (interleaved)
parameter only. Sometimes, only the server knows If the response is
incrementally processible in a meaningful way (e.g., progressive JPEG vs.
baseline JPEG). It is therefore beneficial to let the server specify the
"i" parameter without messing with "u" (urgency).

The other benefit would be that providing room for future extensions to
define new parameters as SH Dictionary members rather than parameters, as
only the former can take be accompanied with a compound value.


>
> 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?
>

There seemed to be certain amount of agreement that three features
(client-driven prioritization, server intervention, reprioritization) was
necessary. That said, I agree that we can cleanly split reprioritization
from the scope of the draft, and at the moment I would not oppose to that
if that is the preference of HTTP WG.


>
> 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.
>

I agree that the priority parameters are merely hints, and that we do not
need to mandate exactly how they would be implemented. Though I think we
need to provide expectations on how H2/H3 terminators are expected to
prioritize is important for other endpoints using the signal.


> ** 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.
>

The parameters are SH dictionary members. Therefore `,` is the correct
answer.


> 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
>
>

-- 
Kazuho Oku