Re: Priority signals in HTTP/2

Martin Thomson <mt@lowentropy.net> Sun, 20 December 2020 23:10 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 549D53A0408 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Dec 2020 15:10:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.748
X-Spam-Level:
X-Spam-Status: No, score=-2.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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=lowentropy.net header.b=EzkLSVlK; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=c5RH1zOr
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 kJuNCQwRtLv4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Dec 2020 15:10:12 -0800 (PST)
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 C8FAF3A03FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 20 Dec 2020 15:10:12 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kr7ps-0006qU-IY for ietf-http-wg-dist@listhub.w3.org; Sun, 20 Dec 2020 23:09:56 +0000
Resent-Date: Sun, 20 Dec 2020 23:09:56 +0000
Resent-Message-Id: <E1kr7ps-0006qU-IY@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 <mt@lowentropy.net>) id 1kr7pr-0006pj-4F for ietf-http-wg@listhub.w3.org; Sun, 20 Dec 2020 23:09:55 +0000
Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1kr7pp-0000oi-Ok for ietf-http-wg@w3.org; Sun, 20 Dec 2020 23:09:54 +0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1F8845C0039; Sun, 20 Dec 2020 18:09:43 -0500 (EST)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Sun, 20 Dec 2020 18:09:43 -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 :cc:subject:content-type; s=fm1; bh=mYhRI8sPF381RmczkggvFp/Nkj2s Douus3xTF4B9plg=; b=EzkLSVlKXrn/aRu786PHVY0KbgVHguTDyLPO0cVEknTr 6A97i6gd8I4evGiAUZoBtwfjJlffdtTcpi3PQfUNIemV04sa5Sm2F5BnV3UGQb7R cTmaNeC7D8/5L544Oo42TNxuUqREK9+gdvSVYAc3MZRaDghyspsgGSJbQ69+L1hI aixXfcM/wauiek5/7EXZ/ZiaUYGYI0qIj6nUcUAhBuhZy1Hj3UeSOJI0rzr69Vmg CPlBWHhPVugGE4GSz1WaKEwuvbNPMGLVYhf5fO7niOAwegakkEU7ioUVv2sMe9MH QqSnZI6/voDEIAcnE3//qSzKDxo/+rj4Sx0Imzjtug==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=mYhRI8 sPF381RmczkggvFp/Nkj2sDouus3xTF4B9plg=; b=c5RH1zOrIjE8JVcUYJ2MlX ZI/dXFT1lzlyOqqu1ylrq7iy01amXfy5S8oNdJVKClVtLMFNT735lCY2h2uPyc/j q/+VwJGPY4KA0zkIp+FrHaX50ufH2ci4LDHVNVLVDVNX4PL37tXrNwaLGK/z09lY O1KZMvJ/+Xb9LJ3X51Lxb7Z31LW621UtXDaMgE5oXvKYjULIzXLxzVhcegWOM66Q mxUyFDwLGCjP8ZBdd2Xd7vcLLcykMxeWi7B6SKMzEGMTPyQEEl2oI6io50WI2lKg AWL6GeZCsluQ9vWThPVsf/3NpsNyjdVXgZThzkR+7Q+Hr56QYs4maQbrGtE3iPag ==
X-ME-Sender: <xms:ttnfXzMP4kkhwzkuqSYoCQj3A2lnyppVTVyOaGmEoHdTXv7ocg7n1Q> <xme:ttnfX99m4hPu2zwmii4bbq7OGXQEctW88kr2e9BS1-33FFq3yfmSbWhh94WZ4IA_K 1V6O7tjFYDUZh8PzsM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtuddgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeekteeuieektdekleefke evhfekffevvdevgfekgfeluefgvdejjeegffeigedtjeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvg ht
X-ME-Proxy: <xmx:ttnfXyR_xg4qyexQuIWOb0dFI3ygf9Bq-AU-lYhDHRe40o5XpldxdQ> <xmx:ttnfX3vm0VL6tz6ZuofqIGPbqlpez5bPB-KaZZlGuIMRlPhRzZCL6Q> <xmx:ttnfX7doGTh16K5QxtaUOfVD9POlus3nx5OPzv54JY1MIxbMHT-txQ> <xmx:t9nfX5r2Ev03nvBOxy8nLr_sMvSzeEWS-oy5tlkaDA6Ebv7yAyV7Lg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id A5312200B9; Sun, 20 Dec 2020 18:09:42 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396
Mime-Version: 1.0
Message-Id: <ea1bea44-0536-484f-a0c1-548f3644ded4@www.fastmail.com>
In-Reply-To: <20201219170453.GA18787@1wt.eu>
References: <32bc8d5e-23c9-412e-84a5-5f153e827c33@www.fastmail.com> <20201219170453.GA18787@1wt.eu>
Date: Mon, 21 Dec 2020 10:09:22 +1100
From: Martin Thomson <mt@lowentropy.net>
To: Willy Tarreau <w@1wt.eu>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.28; envelope-from=mt@lowentropy.net; helo=out4-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-6.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1kr7pp-0000oi-Ok b6699a329261b12256802cab4726d83f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Priority signals in HTTP/2
Archived-At: <https://www.w3.org/mid/ea1bea44-0536-484f-a0c1-548f3644ded4@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38337
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>

Hi Willy,

On Sun, Dec 20, 2020, at 04:04, Willy Tarreau wrote:
> I think I'm OK with this plan. I'm just thinking, do we have an exhaustive
> list of the most annoying problems caused by the current scheme and do we
> think that we could bring back some value if they were at least partially
> addressed ? If so, maybe we could have the following recommendations by
> order of preference:
>   - new priority scheme (yet to be defined)
>   - "fixed" version of the previous one to be used as a second option,
>     expected to work better than nothing with existing implementations;
>   - no priority handling at all (i.e. round robin or random)

I don't want to get too much into the shortcomings of the existing scheme, except for those things we know to be firmly true.  The only thing that I think can be said definitively is that attempting to send responses one at a time is better than trying to evenly share available capacity between multiple responses.

I expect that the new thing we ship will be much better than that, but it's probably best to let that specification speak for itself.