Re: [quicwg/base-drafts] Remove PRIORITY (#2924)

Robin Marx <notifications@github.com> Thu, 25 July 2019 09:53 UTC

Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF12A1205D4 for <quic-issues@ietfa.amsl.com>; Thu, 25 Jul 2019 02:53:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.999
X-Spam-Level:
X-Spam-Status: No, score=-7.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, 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 (1024-bit key) header.d=github.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 PWrLEq0CF9P7 for <quic-issues@ietfa.amsl.com>; Thu, 25 Jul 2019 02:53:09 -0700 (PDT)
Received: from out-20.smtp.github.com (out-20.smtp.github.com [192.30.252.203]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42C9F1200F9 for <quic-issues@ietf.org>; Thu, 25 Jul 2019 02:53:09 -0700 (PDT)
Date: Thu, 25 Jul 2019 02:53:08 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1564048388; bh=XHOWSzvK2R3yr4eosXwvbxaW/T5zyFvIYemd1i+7ViY=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=MMaQDnB+LMkA7uznyB5SUFv6thsIO/nVpK+FV2X4DD2MhzoOmKxR0bdW4If5QbjK8 x2eMmiIObB+r2AajIikRnnsOxSkRm+OQbzWGJhpzcmNBHRjnp4qh08nKm5Wl4cvCNO 1N1uoiVEMoWH3SqiS1Hgp22y+Uf2f7z3E3CwgYro=
From: Robin Marx <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJKYJMRSIGSI4AFPD5DF3I2XIJEVBNHHBYGBYPM@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2924/514978982@github.com>
In-Reply-To: <quicwg/base-drafts/issues/2924@github.com>
References: <quicwg/base-drafts/issues/2924@github.com>
Subject: Re: [quicwg/base-drafts] Remove PRIORITY (#2924)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5d397c04557d2_66ea3f80dc2cd96c937d2"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: rmarx
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/yFjBaMcPXf22hMzV3ZFMbLyRUuQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jul 2019 09:53:12 -0000

> This seems a little controversial. Patrick expressed a desire to limit the number of potential schemes. One of the source of the failings in h2 was the way that it enabled proliferation of schemes. 

I understand the argument, but I don't see how we could move prioritization to an extension (and mainly: allow more than one extension) and not add some kind of negotiation/setting to specify what is supported/will be used. I am a big proponent of adding this in if we decide not to fix priorities in H3 core **properly** (which is very much looking like it will be the case). Even if the SETTING ends up being moot down the line (e.g., all browsers decided to just support 1 approach), it will still be very useful for testing various extension proposals in the mean time (see it as a prioritization ALPN). I am interested in working on the design of such a setting. 

> Given the time pressure that you mention, I would be strongly inclined to support a very basic scheme.

This seems to be the most sensible way forward at this point. I would suggest to use the scheme proposed by Kazuho and Lucas (https://tools.ietf.org/html/draft-kazuho-httpbis-priority-01). It uses 8 different semantic prioritization levels ("urgency") and a progressive/non-progressive indicator. It could be seen as a simple variation on both Patrick Meenan's proposal and the original SPDY approach, while still allowing enough flexibility to represent some of the more subtle peculiarities of resource loading semantics. As I feel the best way to "finally fix" priorities down the line is to add a lot more semantic information with each request (see https://github.com/kazuho/draft-kazuho-httpbis-priority/issues/28), I feel this simpler approach is a good foundation for that, that will also make "upgrading" easier down the line.

Concretely, I would suggest **adding the 8 urgencies and progressive boolean to the core H3 draft** (making a note that it's not perfect, but not awful either, and that they remain "hints") and to use (an) H3 frame(s) to transport them. Kazuho's and Lucas' proposal of using an HTTP-header to transmit the same information, can be done as an extension (hopefully to be implemented by most of us as well, especially the browsers). Patrick Meenan's setup can also be an extension, which people can use for experimentation. The "final fix" (whatever it may be) can start as a relatively simple extension, can be implemented by a subset of stacks to get some experience, and then grow organically. 






-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/2924#issuecomment-514978982