Re: "MAY employ flow control", was: draft-ietf-httpbis-http2 feedback

Fred Akalin <akalin@google.com> Wed, 31 July 2013 15: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 3FD6C21F9E35 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2013 08:37:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level:
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EdrP0oXTWaBJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2013 08:36:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ACA6621F9E24 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Jul 2013 08:36:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V4YRM-0000CF-Ga for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Jul 2013 15:35:52 +0000
Resent-Date: Wed, 31 Jul 2013 15:35:52 +0000
Resent-Message-Id: <E1V4YRM-0000CF-Ga@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <akalin@google.com>) id 1V4YRC-0000BJ-On for ietf-http-wg@listhub.w3.org; Wed, 31 Jul 2013 15:35:42 +0000
Received: from mail-ve0-f179.google.com ([209.85.128.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <akalin@google.com>) id 1V4YRB-0002g7-Rr for ietf-http-wg@w3.org; Wed, 31 Jul 2013 15:35:42 +0000
Received: by mail-ve0-f179.google.com with SMTP id c13so952579vea.10 for <ietf-http-wg@w3.org>; Wed, 31 Jul 2013 08:35:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7BHtj+APzGJLOH3E6SgSvtd9UU1B5+Y5/tsjKT4pvlA=; b=po6IE51I1vaOvTE2ZEMBPnscM6Z0jDxTJNn/1u1MX+AbVeDMR/7e24MMTfeU6pziUE yjl8CdPn4KhOYJ/nx6fYx6bnk9SIUV/kG2vy9yWoFdFj+HJF/BVmt9J1bFgDS8ISncvg /Lj3iEuydb/lTXf1+8lQSI+cs3p4vBzmzNIGEZcAVZcdM8QkOm/H96VMvg5B6EtSBRxk b3yc0OBKsaZWQD7CIEanDJU5M0IUkZZIfhEGK3VhXI6PflZhRSczPj0kQ5XexmuhZwsQ S+XG3bDzcKRtAe3yEDfd26H+NhwogJ2h+aI/45i9JLunMtpzxnGDZYMJ10c62RAb0+y1 Uu8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=7BHtj+APzGJLOH3E6SgSvtd9UU1B5+Y5/tsjKT4pvlA=; b=cUcpFFA8ur2tqDF7EEA7DsJK4gmSU1H9NPutlFy0mmSnzOJWQ0O6Ap2a7hkVlLRubJ lS1Jq7JX6QfZNVSfeduvObceu76EquxswuAUpj133ktWg++YcTvBrcXVeZEV7GUytFLQ IhM5gBsAcYIJeqlRJzSFWV89Mah6D+aR+F71jKBQ3HPRi++Q8jcVCTUTG+vStDHz8nUU n80DcM5tdO1o13zZKkALImsi7xC+QNBgxPhpxclSBlp/7yq8okNXOByrFsjcT7T4GgcD gS0rvrMlIBVxKAyQNjKG8c73xdjAu2+8MGJLcxn9j9ufH2oogcXBtIrNY/RILPa3pT/d G+vw==
MIME-Version: 1.0
X-Received: by 10.52.188.73 with SMTP id fy9mr24632272vdc.53.1375284916060; Wed, 31 Jul 2013 08:35:16 -0700 (PDT)
Received: by 10.220.249.199 with HTTP; Wed, 31 Jul 2013 08:35:15 -0700 (PDT)
In-Reply-To: <51F928DA.9060604@gmx.de>
References: <51F8DA31.20903@gmx.de> <51F92362.6020900@treenet.co.nz> <51F928DA.9060604@gmx.de>
Date: Wed, 31 Jul 2013 17:35:15 +0200
Message-ID: <CANUYc_SXhDVCaK=TPNFVpmv3Bw-uksMGmJ15xE-Syb67GFqYBw@mail.gmail.com>
From: Fred Akalin <akalin@google.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="bcaec548aadfe3697f04e2d078ce"
X-Gm-Message-State: ALoCoQn+R9rro5KvhgP6anWjLMGa/4QMEw6fIOu4L1alxCylQT3rsKX/G1RMY4pIhuEAHlF5EDI+kK12/ZFgMqKBio70Rj5BZtuIMBJD2MjBTMlZ/zK74A5DgA24JohwbMTSKkeZ584LwRHh64ohJiRYsQRB73DhJn/1AlIwYMvAbs4wB4Y2M8w7g+BEGjrgRbNGmgN4pq/A
Received-SPF: pass client-ip=209.85.128.179; envelope-from=akalin@google.com; helo=mail-ve0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-2.014, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.507, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1V4YRB-0002g7-Rr ef8df5724dc23b8e7108aee6b3730c5d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: "MAY employ flow control", was: draft-ietf-httpbis-http2 feedback
Archived-At: <http://www.w3.org/mid/CANUYc_SXhDVCaK=TPNFVpmv3Bw-uksMGmJ15xE-Syb67GFqYBw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/19016
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>

The language is ambiguous. "Flow control" may refer to one side informing
its peer of the memory limits, or it may refer to obeying the memory limits
received from the peer, or both. It looks like the spec is talking about
the former, but all implementations need to support the latter.

Ideally the spec would be more clear about this distinction; it was
confusing to me earlier also, especially in discussing the disabling of
flow control (which is applicable only to the first meaning).

On Wed, Jul 31, 2013 at 5:10 PM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2013-07-31 16:46, Amos Jeffries wrote:
>
>> On 31/07/2013 9:34 p.m., Julian Reschke wrote:
>>
>>> Questions:
>>>
>>>  <snip>
>>
>>>
>>> 5.2.2
>>>
>>> "Deployments with constrained resources (for example, memory) MAY
>>> employ flow control to limit the amount of memory a peer can consume.
>>> Note, however, that this can lead to suboptimal use of available
>>> network resources if flow control is enabled without knowledge of the
>>> bandwidth-delay product (see [RFC1323])."
>>>
>>> s/MAY/can/
>>>
>>>
>> I took this as being intentionally normative language. One participant
>> MAY use the feature therefore all participante MUST implement support
>> just in case it happens. With "can" there is no normative requirement on
>> the other participants to implement anything regarding flow control,
>> which would lead to harm for the participant needing it.
>>
>
> If *that* is the concern it really needs to be addressed more clearly.
>
> (I had the impression that flow control support clearly is not optional).
>
> Best regards, Julian
>
>
>