Re: Setting to disable HTTP/2 Priorities

Willy Tarreau <w@1wt.eu> Tue, 30 July 2019 03:54 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 49AC11203D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Jul 2019 20:54:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.651
X-Spam-Level:
X-Spam-Status: No, score=-2.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 e9Dliq7cQuNC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Jul 2019 20:54:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (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 ADC131203CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 Jul 2019 20:54:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hsJAv-0001Bp-Ag for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Jul 2019 03:51:45 +0000
Resent-Date: Tue, 30 Jul 2019 03:51:45 +0000
Resent-Message-Id: <E1hsJAv-0001Bp-Ag@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <w@1wt.eu>) id 1hsJAr-0001AG-S5 for ietf-http-wg@listhub.w3.org; Tue, 30 Jul 2019 03:51:41 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.89) (envelope-from <w@1wt.eu>) id 1hsJAq-0001op-9z for ietf-http-wg@w3.org; Tue, 30 Jul 2019 03:51:41 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id x6U3pBnj002063; Tue, 30 Jul 2019 05:51:11 +0200
Date: Tue, 30 Jul 2019 05:51:11 +0200
From: Willy Tarreau <w@1wt.eu>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Mike Bishop <mbishop@evequefou.be>, Lucas Pardue <lucaspardue.24.7@gmail.com>, Brad Lassey <lassey@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20190730035111.GA2037@1wt.eu>
References: <CALjsk164zz+nDy5ZmOhvCscBQrBNMKTW0fz7Zxy=KtVx+ktz+Q@mail.gmail.com> <20190726031912.GB29509@1wt.eu> <CALGR9oZ7CyJ3LD4rmJn+4=E83ad3qc93Nc82-uJMXjiRL+NQjA@mail.gmail.com> <20190726052449.GD29509@1wt.eu> <CY4PR22MB09838DC9BAEC171E7B37454FDADD0@CY4PR22MB0983.namprd22.prod.outlook.com> <CANatvzy0MsrS_+h9Mx_CDoi5a4WUP+VrX6tf9Q5zgvP5esmDAA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CANatvzy0MsrS_+h9Mx_CDoi5a4WUP+VrX6tf9Q5zgvP5esmDAA@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-6.8
X-W3C-Hub-Spam-Report: AWL=1.092, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hsJAq-0001op-9z 58a11f860e166c50bd14d417f1dd8977
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Setting to disable HTTP/2 Priorities
Archived-At: <https://www.w3.org/mid/20190730035111.GA2037@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36871
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>

On Tue, Jul 30, 2019 at 10:06:14AM +0900, Kazuho Oku wrote:
> 2019?7?30?(?) 4:41 Mike Bishop <mbishop@evequefou.be>:
> >
> > Both are issues.  I think the first order of business is to know whether the peer supports PRIORITY. If the client doesn't, the server might choose to be more aggressive about making its own inferences.  If the server doesn't, the client might as well save some bytes and might choose to delay low-priority requests on the assumption the server will be assuming the requests are in priority order.
> 
> +1.
> 
> I think that the proposed settings is the right way to go.

I agree, this is fast and clean.

> Even though
> it is sometimes the issue with endpoints using priorities incorrectly
> (e.g., a web browser assigning different "weights" based on the type
> of the resource), introducing the proposed settings would be the
> correct thing to do in order to sunset the H2 prioritization scheme.

I just have a practical question : does this mean I'll waste my time
if I implement H2 priorities in haproxy ? I mean, if there's a general
consensus that this is counter-productive or if browsers are thinking
about abandoning priorities, I probably have better to work on. If it's
only for certain corner cases that priorities should be abandoned and
that they are still valuable, I can continue to work on this. I'm
interested on any advice on this!

Thanks,
Willy