Re: #40 - HTTP2 default value for client supported max_concurrent_streams

Amos Jeffries <squid3@treenet.co.nz> Sat, 23 February 2013 11:06 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 2E6B321F8F71 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Feb 2013 03:06:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.348
X-Spam-Level:
X-Spam-Status: No, score=-10.348 tagged_above=-999 required=5 tests=[AWL=0.251, 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 iG3lK28hecBf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Feb 2013 03:05:59 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7A96721F8F26 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Feb 2013 03:05:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U9Ctw-0005qe-8Z for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Feb 2013 11:04:20 +0000
Resent-Date: Sat, 23 Feb 2013 11:04:20 +0000
Resent-Message-Id: <E1U9Ctw-0005qe-8Z@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 1U9Ctn-0005oO-TP for ietf-http-wg@listhub.w3.org; Sat, 23 Feb 2013 11:04:11 +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 1U9Ctj-0005EG-4l for ietf-http-wg@w3.org; Sat, 23 Feb 2013 11:04:11 +0000
Received: from [192.168.1.102] (unknown [14.1.64.4]) by treenet.co.nz (Postfix) with ESMTP id 189E3E702A for <ietf-http-wg@w3.org>; Sun, 24 Feb 2013 00:03:43 +1300 (NZDT)
Message-ID: <5128A209.7040403@treenet.co.nz>
Date: Sun, 24 Feb 2013 00:03:37 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <B33F11E188FEAB49A7FAF38BAB08A2C001D31EF6@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com> <CAP+FsNeHjN-SQHw5NyiqauNAL-7rbwq91a0OdXujdF4SL6j4Yw@mail.gmail.com> <CABkgnnWD1XWx3hChfDh83VmhtspsCHETRnZBYjzM7pCXYa=0Fg@mail.gmail.com> <CAP+FsNcqu-AwNnijWcPyNZFWssEqo0b+sv61E09ZO=aFyzCNFQ@mail.gmail.com> <CA566BAEAD6B3F4E8B5C5C4F61710C1163AA6440@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAA4WUYiJbASP2fUGSZYzLstDM1zn6FLou9OOdRwokwm0yu+OMg@mail.gmail.com>
In-Reply-To: <CAA4WUYiJbASP2fUGSZYzLstDM1zn6FLou9OOdRwokwm0yu+OMg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
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.3
X-W3C-Hub-Spam-Report: AWL=-3.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1U9Ctj-0005EG-4l 0f6aaf8035083110182f7d42548a18cc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #40 - HTTP2 default value for client supported max_concurrent_streams
Archived-At: <http://www.w3.org/mid/5128A209.7040403@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16785
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 23/02/2013 10:29 a.m., William Chan (陈智昌) wrote:
> Let's be careful about this issue, because as we've noted many times 
> before, if the server can't leverage HTTP/2 to push streams, it is 
> likely to just inline resources directly, which is definitely worse. 
> Fundamentally, when the client issues a request, the server can send 
> anything it wants in the response. Defaulting to 0 would most likely 
> incentivize servers to to just inline resources, which is probably 
> worse than sending push streams to clients which don't want it (I 
> assert that in the open web, this should be a minority. If not, then 
> HTTP/2 stream pushing will have failed and people will just inline 
> resources).

Sorry I just parsed that as a re-wording of "if it turns out the 
majority of clients disable push we can consider it failed and servers 
will just do it via inlining anyway."

If that is the case, why are sites not already inlining _all_ of their 
page content and pushing it on first contact from any client. The answer 
should be obvious that it is a waste of resources for both client and 
server to do this at all on any large scale. Although, that said I'm 
still fielding questions about how to pre-cache entire sites like 
facebook and google :-( there will always be idiots whatever gets specified.

Amos

>
> On Fri, Feb 22, 2013 at 1:02 PM, Gabriel Montenegro 
> <Gabriel.Montenegro@microsoft.com 
> <mailto:Gabriel.Montenegro@microsoft.com>> wrote:
>
>     There is harm borne by the unwilling client receiver: battery and
>     data allowance are not free.
>
>     *From:*Roberto Peon [mailto:grmocg@gmail.com
>     <mailto:grmocg@gmail.com>]
>     *Sent:* Friday, 22 February, 2013 08:24
>     *To:* Martin Thomson
>     *Cc:* Osama Mazahir; ietf-http-wg@w3.org
>     <mailto:ietf-http-wg@w3.org> Group
>     *Subject:* Re: #40 - HTTP2 default value for client supported
>     max_concurrent_streams
>
>     Yup, I understand that part. :)
>
>     I'm doing a poor job of pointing out that any harm done by doing
>     something like this is borne by the party doing it.
>
>     ... so why mandate it-- if there turns out to be a positive
>     benefit of doing such a push in the future, fine.
>
>     I guess I'm attempting to argue that, unless we can figure out how
>     this causes harm/is likely to be done accidentally and cause
>     issues, then it is better to not say anything about it. Saying
>     something about it creates a spec with is more fragile.
>
>     -=R
>
>     On Fri, Feb 22, 2013 at 8:19 AM, Martin Thomson
>     <martin.thomson@gmail.com <mailto:martin.thomson@gmail.com>> wrote:
>
>         On 22 February 2013 05:29, Roberto Peon <grmocg@gmail.com
>         <mailto:grmocg@gmail.com>> wrote:
>         > What is the motivation for that?
>
>         I'm not suggesting that this is Osama's motivation, but look
>         at the
>         Upgrade scenario: the server is the first to send on the HTTP/2.0
>         session with a response. There's an obvious opportunity there
>         to push
>         prior to the client SETTINGS frame arriving. The TLS scenario
>         is less
>         interesting - the client sends SETTINGS prior to any request,
>         making
>         defaults non-interesting.
>
>