Re: http/2 prioritization/fairness bug with proxies

Amos Jeffries <squid3@treenet.co.nz> Mon, 04 February 2013 08:37 UTC

Return-Path: <ietf-http-wg-request@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 266D221F8467 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Feb 2013 00:37:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.197
X-Spam-Level:
X-Spam-Status: No, score=-10.197 tagged_above=-999 required=5 tests=[AWL=0.402, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dZGqMkx1GPN7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Feb 2013 00:37:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8D26621F8460 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 4 Feb 2013 00:37:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U2HX1-000881-Q4 for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Feb 2013 08:36:03 +0000
Resent-Date: Mon, 04 Feb 2013 08:36:03 +0000
Resent-Message-Id: <E1U2HX1-000881-Q4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1U2HWu-00087I-7t for ietf-http-wg@listhub.w3.org; Mon, 04 Feb 2013 08:35:56 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1U2HWt-0000h7-0E for ietf-http-wg@w3.org; Mon, 04 Feb 2013 08:35:56 +0000
Received: from [192.168.1.103] (unknown [14.1.64.4]) by treenet.co.nz (Postfix) with ESMTP id 6D434E7133 for <ietf-http-wg@w3.org>; Mon, 4 Feb 2013 21:35:28 +1300 (NZDT)
Message-ID: <510F72CE.8030003@treenet.co.nz>
Date: Mon, 04 Feb 2013 21:35:26 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAA4WUYjiBZpShKKFfHQnixc94aOLrck0oR4ykARB=hF5h8nkfA@mail.gmail.com> <3430.1359961022@critter.freebsd.dk>
In-Reply-To: <3430.1359961022@critter.freebsd.dk>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1U2HWt-0000h7-0E 516df68f7c162c60c47067447382f8e8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: http/2 prioritization/fairness bug with proxies
Archived-At: <http://www.w3.org/mid/510F72CE.8030003@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16350
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 4/02/2013 7:57 p.m., Poul-Henning Kamp wrote:
> Content-Type: text/plain; charset=ISO-8859-1
> --------
> In message <CAA4WUYjiBZpShKKFfHQnixc94aOLrck0oR4ykARB=hF5h8nkfA@mail.gmail.com>
> , =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= writes:
>
>> Anyway, the existing prioritization bug is as follows:
> [...]
>
>> The backend server
>> obviously can't do this because it doesn't (at least, shouldn't!) know
>> the clients behind the proxy.
> This flies counter to vast experience:  Servers do almost everything
> they can to identify the actual client (X-F-F, cookies, fingerprinting
> etc), so I think this premise needs to be rethought.
>
>> I consider all those options as suboptimal, and thus consider this
>> issue to be a protocol bug. Our SPDY/4 prioritization proposal
>> addresses this by using stream groups with advisory (all this is
>> advisory after all) [...]
> So what does the groups buy you, for all the complexity they add ?
>
> As far as I can tell:  Nothing.
>
> I think the priority should simply be documented as advisory and
> mention that intermediaries SHOULD respect them, subject to
> local administrative policy, and leave it at that.
>
> The current proposal is complex enough as it is, adding complexity
> to not solve problems that cannot be solved technically, is not
> an improvement.

+1. There are a lot of queuing, scheduling, and load balancing 
algorithms out there for the proxy to choose from and likely to be more 
or better ones found going forward.
The proxy is already in a position to group (or not), or to simply delay 
I/O as necessary to make things fair for all clients according to their 
priority hints. A SHOULD is enough.

Amos