Re: h2 proxy and connection flow control
Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> Thu, 21 August 2014 14:14 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 9C4A11A036F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Aug 2014 07:14:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.669
X-Spam-Level:
X-Spam-Status: No, score=-7.669 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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 OY175KGw_xcK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Aug 2014 07:14:29 -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 7B9391A7001 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Aug 2014 07:13:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XKT4x-00088E-6d for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Aug 2014 14:11:03 +0000
Resent-Date: Thu, 21 Aug 2014 14:11:03 +0000
Resent-Message-Id: <E1XKT4x-00088E-6d@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tatsuhiro.t@gmail.com>) id 1XKT4g-000852-VH for ietf-http-wg@listhub.w3.org; Thu, 21 Aug 2014 14:10:46 +0000
Received: from mail-ig0-f178.google.com ([209.85.213.178]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tatsuhiro.t@gmail.com>) id 1XKT4e-0004Gq-0h for ietf-http-wg@w3.org; Thu, 21 Aug 2014 14:10:45 +0000
Received: by mail-ig0-f178.google.com with SMTP id uq10so12895000igb.11 for <ietf-http-wg@w3.org>; Thu, 21 Aug 2014 07:10:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=U96S3H3Dcjx17jy2ufxqSfFzit1cF5B6rcB8qRT4Nd4=; b=W/oVpEfZh1O17tIPGCYnX4NTL1fnVjcH7CWyEimOMpsz+NxZ3mg2ir3C5+g2ae/Ivq PuIAyKoFHmnzOVzbaanVcmexrUyKQ/xvVd6gBFl4f6UK/Jnw9fcSeZ3RNIb4MhbH4tbu NKBmz9Kcr6jFvgeFH523vxSJu7GiL41BzjLp+hOQtWJZ/vreFs9cLb+VG5IBBEqa6JRX BxKogeBYU3MSFrrtAbg1Byn9aYqcQXDyhPJuT4JQ4U62AFrPZkS/Qcp4p85PcxTUNDth 4hfdjR2vqIJNQmhcLIMLczlaFpkdcFmPtxzI/tO3TX2bCWKk8yENqa0SBBzHC7uDVpDE f2vw==
X-Received: by 10.50.136.167 with SMTP id qb7mr4506198igb.31.1408630218061; Thu, 21 Aug 2014 07:10:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.31.201 with HTTP; Thu, 21 Aug 2014 07:09:57 -0700 (PDT)
In-Reply-To: <CAOdDvNqX0H7hhxtx3ODniuYQU5wt9Qi91BDjOcENssi_m4PbQA@mail.gmail.com>
References: <CAPyZ6=+9sEFaaEBHSvhbzck6mLthatDVamMckYfnUXVMhVbiVg@mail.gmail.com> <CAOdDvNqX0H7hhxtx3ODniuYQU5wt9Qi91BDjOcENssi_m4PbQA@mail.gmail.com>
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu, 21 Aug 2014 23:09:57 +0900
Message-ID: <CAPyZ6=J1b6VYaBJ==H7FsO9ofe9BTv53+DoDTCeRtW8TPmx=Bw@mail.gmail.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: HTTP <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="089e01494c28c4a9e90501244797"
Received-SPF: pass client-ip=209.85.213.178; envelope-from=tatsuhiro.t@gmail.com; helo=mail-ig0-f178.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.709, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1XKT4e-0004Gq-0h 0561dbce372b5a1ca95dc5499dc07962
X-Original-To: ietf-http-wg@w3.org
Subject: Re: h2 proxy and connection flow control
Archived-At: <http://www.w3.org/mid/CAPyZ6=J1b6VYaBJ==H7FsO9ofe9BTv53+DoDTCeRtW8TPmx=Bw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26689
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 Thu, Aug 21, 2014 at 10:59 PM, Patrick McManus <mcmanus@ducksong.com> wrote: > > On Thu, Aug 21, 2014 at 9:39 AM, Tatsuhiro Tsujikawa < > tatsuhiro.t@gmail.com> wrote: > >> >> >> Since Browser's receive window is 0, Frontend Proxy cannot send >> more DATA for stream A to Browser. Meanwhile, Frontend Proxy >> continues to receive DATA for stream B from Backend. Since >> stream A's stream window is 0, Frontend Proxy cannot proceed and >> just buffer the received data and eventually Frontend Proxy's >> receive window for connection becomes 0. >> >> After this happens, Browser can still issue new request, but >> Backend cannot send response to Frontend Proxy because its recive >> window is 0. This means that if Browser stalls one stream, it >> stalls all streams in entire session. >> > > The proxy cannot receive more data because its resources (the session > window) are exhausted. > > Yes > If it did receive more data where would it put it? > > If it actually has room for more data then it should just increase its > session window with a window update. > > In this scenario, proxy has no room to expand. Therefore I wrote that all streams on backend connections are stalled. Best regards, Tatsuhiro Tsujikawa
- h2 proxy and connection flow control Tatsuhiro Tsujikawa
- Re: h2 proxy and connection flow control Patrick McManus
- Re: h2 proxy and connection flow control Tatsuhiro Tsujikawa
- Re: h2 proxy and connection flow control Patrick McManus
- Re: h2 proxy and connection flow control Tatsuhiro Tsujikawa
- Re: h2 proxy and connection flow control Amos Jeffries
- Re: h2 proxy and connection flow control Martin Thomson
- Re: h2 proxy and connection flow control Tatsuhiro Tsujikawa
- Re: h2 proxy and connection flow control Ilari Liusvaara
- Re: h2 proxy and connection flow control Tatsuhiro Tsujikawa
- Re: h2 proxy and connection flow control Martin Thomson