Re: h2 proxy and connection flow control

Martin Thomson <martin.thomson@gmail.com> Fri, 22 August 2014 18:02 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31BEA1A06A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Aug 2014 11:02:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.67
X-Spam-Level:
X-Spam-Status: No, score=-7.67 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 pIhBiZZR_-cV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Aug 2014 11:02:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 465B11A067F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Aug 2014 11:02:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XKt89-0000YH-SV for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Aug 2014 18:00:05 +0000
Resent-Date: Fri, 22 Aug 2014 18:00:05 +0000
Resent-Message-Id: <E1XKt89-0000YH-SV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1XKt7p-0006En-5W for ietf-http-wg@listhub.w3.org; Fri, 22 Aug 2014 17:59:45 +0000
Received: from mail-la0-f47.google.com ([209.85.215.47]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1XKt7m-000121-SD for ietf-http-wg@w3.org; Fri, 22 Aug 2014 17:59:43 +0000
Received: by mail-la0-f47.google.com with SMTP id mc6so10483006lab.34 for <ietf-http-wg@w3.org>; Fri, 22 Aug 2014 10:59:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XgpKXkb58YSHcXqeCcmAv4yIpfuTDSGg8HdsrElDCws=; b=SxqY5gqgHHIco6/y9GIeggthT7VD/4uya9IF0hWROj7rW5IkH86wSej0ICjiV3EZQJ E1GxCrk9972ZSr8z3Pmkre0ee/x46R7HXhixk6SY8HlheIqBk1lRY2QYdFn9Qb2+33lN 23XvHzVcjKUWlZEuGZtKugq8ZdYfEE9+sP0Io/5B/vqjQW85iKir4IpXSiUFTAGtA7XC bThEa6L/otT3597Jt/7BSfGRheGxAwi5/z+Gg1L0TfCYTOvZlNDGBPpeDLVSXv/lq7Om dkbS1G5PTGOhK1IjBXt+pgzPC/dWfdRgrbYIrVPJUEGZ8vdgSAxaI7TFdP0e50VwTZTa i/dA==
MIME-Version: 1.0
X-Received: by 10.152.7.212 with SMTP id l20mr6051032laa.7.1408730356326; Fri, 22 Aug 2014 10:59:16 -0700 (PDT)
Received: by 10.25.166.75 with HTTP; Fri, 22 Aug 2014 10:59:16 -0700 (PDT)
In-Reply-To: <CAPyZ6=+mft5ACmbevMPb8jgUb0-Maut_bJ6Zww2SzbXLLr5SnA@mail.gmail.com>
References: <CAPyZ6=+9sEFaaEBHSvhbzck6mLthatDVamMckYfnUXVMhVbiVg@mail.gmail.com> <CAOdDvNqX0H7hhxtx3ODniuYQU5wt9Qi91BDjOcENssi_m4PbQA@mail.gmail.com> <CAPyZ6=J1b6VYaBJ==H7FsO9ofe9BTv53+DoDTCeRtW8TPmx=Bw@mail.gmail.com> <CAOdDvNr3g5Ch80ypTThNvZDPftPG5Qive6WmHrvHgsw4NEXOTA@mail.gmail.com> <CAPyZ6=+0Ot1XRNw38rBX1hH04hJ1i6pVDpL+CsLUifozB1tDQw@mail.gmail.com> <53F614C2.3020509@treenet.co.nz> <CAPyZ6=JRarLFJqHnSt9uNURu62x_9Z8W4LhfZ8zYpg0Ps30wTw@mail.gmail.com> <CAPyZ6=+mft5ACmbevMPb8jgUb0-Maut_bJ6Zww2SzbXLLr5SnA@mail.gmail.com>
Date: Fri, 22 Aug 2014 10:59:16 -0700
Message-ID: <CABkgnnVOEKM4XaUNC84Bwntwaz+Gxf-_CVPj_JVF4fsfHqSaOA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.215.47; envelope-from=martin.thomson@gmail.com; helo=mail-la0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.726, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1XKt7m-000121-SD 2d195328ece28a734488752d02d81c2d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: h2 proxy and connection flow control
Archived-At: <http://www.w3.org/mid/CABkgnnVOEKM4XaUNC84Bwntwaz+Gxf-_CVPj_JVF4fsfHqSaOA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26710
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 22 August 2014 08:35, Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> wrote:
> Replying to myself, this does not work, because Browser may not send
> WINDOW_UPDATE if its stream window is very large (e.g. 10M) compared to
> Proxies (e.g., 64K).  Most of the http2 implementation seems to send
> WINDOW_UPDATE when window is reduced its half, so sending 64K data does not
> make Browser send WINDOW_UPDATE...


:)

You send WINDOW_UPDATE when you a) have space, and b) think that it is
necessary in order to ensure maximal data flow.