Re: New Draft: draft-ohanlon-transport-info-header

"Piers O'Hanlon" <p.ohanlon@gmail.com> Fri, 22 November 2019 12:58 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 50485120850 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Nov 2019 04:58:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.752
X-Spam-Level:
X-Spam-Status: No, score=-2.752 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 7KE1zECjQ-l8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Nov 2019 04:58:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A713B120846 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Nov 2019 04:58:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iY8UC-0005s7-W3 for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Nov 2019 12:56:33 +0000
Resent-Date: Fri, 22 Nov 2019 12:56:32 +0000
Resent-Message-Id: <E1iY8UC-0005s7-W3@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <p.ohanlon@gmail.com>) id 1iY8UA-0005rM-Mv for ietf-http-wg@listhub.w3.org; Fri, 22 Nov 2019 12:56:30 +0000
Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <p.ohanlon@gmail.com>) id 1iY8U9-0004S4-4j for ietf-http-wg@w3.org; Fri, 22 Nov 2019 12:56:30 +0000
Received: by mail-vs1-xe36.google.com with SMTP id n9so4694322vsa.12 for <ietf-http-wg@w3.org>; Fri, 22 Nov 2019 04:56:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Wer25esVqgnlJZQ0HczYo3fAdIJLmsYEU0aMIEiL578=; b=DcY+V2wWTqmzdwnPXIsX8v4agDCgJ0mVjIrNkgeO8vcBEMK/fe0LGs0fdaCCIQjWwU 4h5EfuUfeMA4zsUAUimxaMSMvXDcB5fApQiu2e4124OOk4r8T9l2FgKnmwERAnoV5c4h j1PxdMubfb09oE1bHss7zjdDPoCo5JCGA/T4ycW2t0bZs9G+oerynX6fXKgkGU0pvU55 +WLoWiOHGEIKgX3S1Pbm2MXkOUF/3I1qbUcoZG4V3XgKqJTcCA7qVC16XPubLR6xIJb+ 2ezo2ze9+Di9dBS4Rax54qCp2APQDIFp47jtqLM+H8dYh9YzMeFMxeEhJqrfTrCtRVcy +Pnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Wer25esVqgnlJZQ0HczYo3fAdIJLmsYEU0aMIEiL578=; b=Jax+cLqiTGfdpZvmqJEeAkwLN+aiQvysdBlyxxZWXHhT9SyinUcYqbB02+hPE/8w73 mv1Qf0zukj8wvIfX8oX/74pm8dOs4KmAxQIGZA93AtIsbSD6DVtnHW2dqXDHeHQfiy0u gAsqthThO8g9ci+gTX4K5ku3+MfU6/MU58DXhVlELBg73W5QJxLSG9Yqg0d0yx+gnsaS aEODAKitMHRYhY+i99XhU65uBENQA9Z/yfwXiw0qRboU9qYPNoGdNkl5gP7Y72SPErZv IAlOBHDo6DfqdVIs4XiDpUzqj9dgbpR+EaHMB3rz4qy9K93ty36s7+c3xf2J7/xMbVyV uVnA==
X-Gm-Message-State: APjAAAWNYv1XL+CqaGC6uI2YBrhk7Dwei8U4uWr+653pCkLA69Y2wwFe cuHAQQ0LTBiK7dCsddBwN/iR437AHtQmn5jWuPhi/eLX
X-Google-Smtp-Source: APXvYqxF/D2OrR/mv+QyZi4PCdmFjgkxb1ad2Xo+tYvhKyUV+MhyEFdQjbAyJyX7kWTUtbc5ouINrvfHor0VTjLa/xA=
X-Received: by 2002:a05:6102:80f:: with SMTP id g15mr10212296vsb.229.1574427387524; Fri, 22 Nov 2019 04:56:27 -0800 (PST)
MIME-Version: 1.0
References: <CAFWWCs4jSRbrK_-5mxM8w4YexYNKRuwGGJSK4iNrhr4en2Q=_w@mail.gmail.com> <CALGR9ob+EgQwC=VK80PPRWxABxi3AeLUpGXk=wzBK57H0OUzJw@mail.gmail.com>
In-Reply-To: <CALGR9ob+EgQwC=VK80PPRWxABxi3AeLUpGXk=wzBK57H0OUzJw@mail.gmail.com>
From: Piers O'Hanlon <p.ohanlon@gmail.com>
Date: Fri, 22 Nov 2019 12:56:13 +0000
Message-ID: <CAFWWCs5u=qAjmhPek17YqN=AmVJgyCXEVkfP2RsQ5uM-DBZc0A@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::e36; envelope-from=p.ohanlon@gmail.com; helo=mail-vs1-xe36.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1iY8U9-0004S4-4j 3dd57ea961e5e2b7d904604cbbc0bea7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Draft: draft-ohanlon-transport-info-header
Archived-At: <https://www.w3.org/mid/CAFWWCs5u=qAjmhPek17YqN=AmVJgyCXEVkfP2RsQ5uM-DBZc0A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37176
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Lucas,

Thanks for bring that up - as you say Nginx's default for
http2_max_requests is 1000, although it can be changed (and appears to
be done so for RPC applications). I'm not sure how many other server
implementations do this?

Firstly, we can detect this through of the use of the dstport
parameter - as a new TCP connection would use a different port.
Although it could potentially lead to temporary loss of information
for a time as discussed below.

Secondly, the affect of this would be only apparent each time the
request count is exceeded - so say every 1000 requests - when a switch
over would occur. When a switch over does occur then it depends on the
comparative duration of the data responses of interest, versus how
often one wants to perform parallel HEAD/OPTION requests for
Transport-Info. So for the case where where the frequency of parallel
requests is about the same then I think it shouldn't matter much as
with most server systems these days the congestion control parameters
are cached in the kernel so a subsequent connection to the same
destination would be preloaded with the cached metrics so the
Transport-Info header would contain these. In the case where there's a
series of long running responses then it might be an issue as after
switch over point there would also be two parallel TCP connections to
the same point but they would exist separately for a longer period so
potentially the metrics obtained via subsequent HEAD/OPTIONS could be
different as the cwnd can be reduced for low volume flows, though
these would generally not be used since the dstport would not match so
there could be a loss of information in this case.

Cheers

Piers

On Fri, 22 Nov 2019 at 10:51, Lucas Pardue <lucaspardue.24.7@gmail.com> wrote:
>
> Hi Piers,
>
>
>
>
> On Fri, 22 Nov 2019, 17:58 Piers O'Hanlon, <p.ohanlon@gmail.com> wrote:
>>
>> Hi all,
>>
>> - “It only provides information per response which isn’t very often”
>> We mention in the draft that with H2+ one can send and arbitrary number of requests (using OPTIONS/HEAD) to obtain more measurements responses per unit time.
>
>
> I have an observation but not sure it belongs in a document. Implementations such as nginx have a soft max number of HTTP/2 requests before closing the connection (default 1000 last I checked). If you're trying to sample the transport info to frequently you may end ip blowing it up. This seems unfortunate because the client use case is designed around making smarter transport related decisions.
>
> Cheers
> Lucas
>
>>
>> We would welcome any more feedback by email and/or Github issues
>>
>> Thanks,
>>
>> Piers O'Hanlon