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

Patrick McManus <mcmanus@ducksong.com> Fri, 22 November 2019 21:44 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 AB2591200F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Nov 2019 13:44:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.751
X-Spam-Level:
X-Spam-Status: No, score=-2.751 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ducksong.com header.b=NEuoE+MX; dkim=pass (2048-bit key) header.d=outbound.mailhop.org header.b=wO64KPQ5
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 MkIvOUCbJrFc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Nov 2019 13:44:07 -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 1380E1200B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Nov 2019 13:44:05 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iYGgH-0004Vo-UQ for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Nov 2019 21:41:33 +0000
Resent-Date: Fri, 22 Nov 2019 21:41:33 +0000
Resent-Message-Id: <E1iYGgH-0004Vo-UQ@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 <mcmanus@ducksong.com>) id 1iYGgE-0004V2-Jk for ietf-http-wg@listhub.w3.org; Fri, 22 Nov 2019 21:41:30 +0000
Received: from outbound1b.ore.mailhop.org ([54.200.247.200]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mcmanus@ducksong.com>) id 1iYGgC-0003Lk-Lm for ietf-http-wg@w3.org; Fri, 22 Nov 2019 21:41:30 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1574458886; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=B2B/Qrxixe4ijE/J8yKrqCU7kfxQzY0MjW2f6n+FAXB1wRDhPtOSlouMEnmgvBAAJlO3VFp+z7p+X NR6m4qIjg6rLEbIYaOks5DMDv2o+7cRKkesRuf/3IM1Q+O3MGUyfZidS2ea95HlYV1ZoKtQn2oV8eV PLAksT/CkYJQBccF2u8l0fUFG/0CR5i1Ddpaf/pODHbJoML61HOaaJ8BTOjlDyGmepwMiyLY6HhKLP UtXs1Y7FSmsRxAKckWP3zRRjmdtle1cS5+VvZvdtBo+yS9tlxpkGcmk9yw4ZAyEAOBx5DXQScuPFhe HH6I0TKOXHvwSRYMABergKyJlQ5OnEA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:dkim-signature:dkim-signature:from; bh=9xb+BO2WpGPffxgVmUJ4Rd/GH9fPBUiTpL7Kdt0p/wE=; b=hP4zdJFU1ZFSsACfpnkwC4esYeVCXUO269bRa64ZYDlcU2nRySSidaZc71gg3YMtA38oA2wB31f5L Wt1MhzGdFLUXLVF7pL6nG3MFhImhR2QxJMaZzt/wLSMK5Y9l7Qrxv2bcrglFulOc2jlwiQGRxNDjks 9XB+HMzWSMcXymkepx4BcdFYjLpmG4QVjq7h15NwA0gyPNp8+I/1ZbKQ/vRfUKgDeX7jp56XB7Yezo 2VyB84fmEOPGMQ+FVXsiiuKHoXU2+LEcCAv3I6+Vgtn8Y1mJRooYaA7YMKdxeAI78sFXs2CM9cFgUY C/+anem8jTz6asUF4cu+W7Zusrz+dcw==
ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=pass smtp.mailfrom=ducksong.com smtp.remote-ip=209.85.210.42; dmarc=none header.from=ducksong.com; arc=none header.oldest-pass=0;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ducksong.com; s=duo-1537391512170-ea99bbb3; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:from; bh=9xb+BO2WpGPffxgVmUJ4Rd/GH9fPBUiTpL7Kdt0p/wE=; b=NEuoE+MX3Z1gibKlQme0uPH1sc6d+CiLA8k99zlzFQyRXZI/jIx2VDfGpUFiwS7PXj51R5SsbcBAW uKtzmdHC+eBE8wf1WRM/qPaNSn7xtfP1D/kkNDC1k7XxEWk8PFHRBVIbPC3Q9YYCo3ofBwRZOEjZXg xb38teV61Egd2s70=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:from; bh=9xb+BO2WpGPffxgVmUJ4Rd/GH9fPBUiTpL7Kdt0p/wE=; b=wO64KPQ542TNQCMBInv73OCXUcg2+y4aAfvFNzUp7wmtrE0TNXoFlmeYI8sjky4oIXPLV7NDZyh9J D1/ZlmH7PTIieskW5ygNgzGMFedp3Vnh7A14t2gPN3tzMI5urz5+W305uxMlDe+t4vYHw3kRMrZ1vE uIWfDUVDqpmkknwf9a4zCYIjzzxeTowHAsXEy0zIwjjjVjY8A+ymjikYUz285HLO7KBR+qBKQIdu3I RoDNz0L22rt2AfhfnWKFjc5Pt1n4I8gve4JWzyjFJJueBmhpKmjY9iso9rtOVnfmt9tmBLHBcf4wNQ mjgdQ3Y5UzIaXwScSSeCoZAkLTnsUEw==
X-MHO-RoutePath: bWNtYW51cw==
X-MHO-User: d4f609b8-0d70-11ea-b80c-052b4a66b6b2
X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information
X-Originating-IP: 209.85.210.42
X-Mail-Handler: DuoCircle Outbound SMTP
Received: from mail-ot1-f42.google.com (unknown [209.85.210.42]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id d4f609b8-0d70-11ea-b80c-052b4a66b6b2; Fri, 22 Nov 2019 21:41:25 +0000 (UTC)
Received: by mail-ot1-f42.google.com with SMTP id d5so7488132otp.4 for <ietf-http-wg@w3.org>; Fri, 22 Nov 2019 13:41:25 -0800 (PST)
X-Gm-Message-State: APjAAAWQDuOR5bXmKCM8U6SE7LO8Wl8f/pXJvViLLvb5AeVKcpFrQHGB hGbkBculOl/GckUmKyi5eHzwQo7w5rssW/HLXfw=
X-Google-Smtp-Source: APXvYqwGxm2vPOH3XYqgk74TA3dvbH8N0jBk1i69k15XbFc5ewn4Fm9tR6yetSlQZr92MJ0pc0qJkHIIMJ/eRIVCmD4=
X-Received: by 2002:a9d:7a86:: with SMTP id l6mr12275600otn.340.1574458884693; Fri, 22 Nov 2019 13:41:24 -0800 (PST)
MIME-Version: 1.0
References: <CAFWWCs4jSRbrK_-5mxM8w4YexYNKRuwGGJSK4iNrhr4en2Q=_w@mail.gmail.com> <CALGR9ob+EgQwC=VK80PPRWxABxi3AeLUpGXk=wzBK57H0OUzJw@mail.gmail.com> <CAFWWCs5u=qAjmhPek17YqN=AmVJgyCXEVkfP2RsQ5uM-DBZc0A@mail.gmail.com>
In-Reply-To: <CAFWWCs5u=qAjmhPek17YqN=AmVJgyCXEVkfP2RsQ5uM-DBZc0A@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Sat, 23 Nov 2019 05:41:13 +0800
X-Gmail-Original-Message-ID: <CAOdDvNrKSPwxNPDYW_0rqc78Zu4NJW9E49qGFt+nv7v3cUgTXg@mail.gmail.com>
Message-ID: <CAOdDvNrKSPwxNPDYW_0rqc78Zu4NJW9E49qGFt+nv7v3cUgTXg@mail.gmail.com>
To: Piers O'Hanlon <p.ohanlon@gmail.com>
Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000008923e90597f6462d"
Received-SPF: permerror client-ip=54.200.247.200; envelope-from=mcmanus@ducksong.com; helo=outbound1b.ore.mailhop.org
X-W3C-Hub-Spam-Status: No, score=-5.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1iYGgC-0003Lk-Lm fdb2089b29fc325358b5b6bd3b6147b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Draft: draft-ohanlon-transport-info-header
Archived-At: <https://www.w3.org/mid/CAOdDvNrKSPwxNPDYW_0rqc78Zu4NJW9E49qGFt+nv7v3cUgTXg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37180
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>

To the extent that this leaks information across origins to js its probably
a problem too.

On Fri, Nov 22, 2019 at 8:58 PM Piers O'Hanlon <p.ohanlon@gmail.com> wrote:

> 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
>
>