Re: new type number versus repurpose of existing field | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities

Lucas Pardue <lucaspardue.24.7@gmail.com> Thu, 08 August 2019 17:59 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 3205E12006D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 8 Aug 2019 10:59:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 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.201, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=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 kXX_piz0Y_tj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 8 Aug 2019 10:59:36 -0700 (PDT)
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 C3FE91200C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 8 Aug 2019 10:59:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hvmfP-00088x-4U for ietf-http-wg-dist@listhub.w3.org; Thu, 08 Aug 2019 17:57:35 +0000
Resent-Date: Thu, 08 Aug 2019 17:57:35 +0000
Resent-Message-Id: <E1hvmfP-00088x-4U@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 <lucaspardue.24.7@gmail.com>) id 1hvmfM-00088C-2Z for ietf-http-wg@listhub.w3.org; Thu, 08 Aug 2019 17:57:32 +0000
Received: from mail-ua1-x92c.google.com ([2607:f8b0:4864:20::92c]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <lucaspardue.24.7@gmail.com>) id 1hvmfK-00072H-NH for ietf-http-wg@w3.org; Thu, 08 Aug 2019 17:57:31 +0000
Received: by mail-ua1-x92c.google.com with SMTP id g11so9927110uak.0 for <ietf-http-wg@w3.org>; Thu, 08 Aug 2019 10:57:10 -0700 (PDT)
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; bh=1P0xof1xZ5lRxUq86TBKL9S/46pjIKxvxA7TWjOnE44=; b=rWhFboolhoptDATPVDFgxzemGGhaMVY+UXSwsCZ/7DbPG6vhZ2IVHMjqjy1mRPIxfj EAx7RrW9GnFDgDvgp11weqskLudO5O7RrgZTbrH6VqPWcIShaCTiIyZtRsWU+fqZ2q5a 9rZzYIHD/ETM6v/R6ABDTf6Mm+gJaVCqJCXaTryT2BRtk0WzrDguX4V4HFXp7FMIvhXY +/LNOqRuxruUFrOs7LYAHjRzLGRdRdj9wzuDpYhBz9aFMs8VQs+iDfd+xXCmg36NuDlj PDh5cu7fIBbLdCI4WrxlLnjFwZMZ8xXlWy/l7ei6B3GVEVGjztmUVhF1Cs3pHdpEaVI3 sq1w==
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; bh=1P0xof1xZ5lRxUq86TBKL9S/46pjIKxvxA7TWjOnE44=; b=V3q6ywYXR5HQGnJhviDllfc9/5cafcToj+KZsw7Em/G+j3OE5mmp45vEQls6BKkbOx r2WUTDk4mUtF6i8Sz7rRYw50VXDyMYDpgu8vXawCT1Mg+ejYjj0zkc3qotd/ChSXPlhj jzAmtWnOEfuW/4z/kF0obba35c1VrHHVpNzpiOlEmhSolJHs43jJcsTLE6ssSFQeRDX7 zLM2sib0MFnkecmpOf5XpHY+/dVhXVGRLdjJDhKw4ZrzrChJ7kNl1qZlCusvGcLjXbRi f89VV7oijdEPwe2SYylE46RahVdc+GVjhmI+nN69ouZvWRBXsQ2AeQdF4ORM0meS7L4J e7lw==
X-Gm-Message-State: APjAAAV67behYXDWwqGo80FhioeLSeRK4m+rfEES99c2m/Xh3eQR7SQl 28M5PnQVhbqv3YH4C2+TUcwB/C8ywlQ80AhozaY=
X-Google-Smtp-Source: APXvYqzXiT2isYYgRN88NcjSFTedG8WJnYNF9SvKGV4r4WAchIHckUzkKZzyvjsRNC8T5gfuK+OoYGdxidvOR/4rRUQ=
X-Received: by 2002:a9f:3c17:: with SMTP id u23mr881818uah.80.1565287029226; Thu, 08 Aug 2019 10:57:09 -0700 (PDT)
MIME-Version: 1.0
References: <20190725191746.GB12596@ubuntu-dmitri> <20190730154809.BBE3412178@welho-filter1.welho.com> <CALGR9oZnKo1JXnxLiKp+04kJeT5Uek3BiCPq=XSq4dG4B3AUBA@mail.gmail.com> <CACweHNDChKtVBTzQGctxAFdgZydrOKt8a9oAKrYbbq1JKLFPNg@mail.gmail.com> <CALGR9oaM2JaAnFJt+e6B87jNYgGd42_fRbycSrqU31tEgR=AEg@mail.gmail.com> <CACweHNBdvqCvDMmgr+=5z9TkQyFYHnE6BMbdUcMG8AJoCDrf3g@mail.gmail.com> <20190808173909.F07B645B6B@welho-filter4.welho.com>
In-Reply-To: <20190808173909.F07B645B6B@welho-filter4.welho.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Thu, 08 Aug 2019 18:56:57 +0100
Message-ID: <CALGR9oYu9dm0114e7-CY7ENyx1mb5kdeJQc7nyvQeQY97=Bz=A@mail.gmail.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Cc: Matthew Kerwin <matthew@kerwin.net.au>, HTTP Working Group <ietf-http-wg@w3.org>, Brad Lassey <lassey@chromium.org>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>
Content-Type: multipart/alternative; boundary="00000000000059418e058f9ec99e"
Received-SPF: pass client-ip=2607:f8b0:4864:20::92c; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-ua1-x92c.google.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=1.503, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 1hvmfK-00072H-NH f70dfe1b84996cad7d172d04162038ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: new type number versus repurpose of existing field | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities
Archived-At: <https://www.w3.org/mid/CALGR9oYu9dm0114e7-CY7ENyx1mb5kdeJQc7nyvQeQY97=Bz=A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36951
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>

Note that it is not my suggestion to do the experiment this way. However,
one could theorise that the work required to support generating, sending,
receiving and processing new non-core frame types is greater than
implementing some conditional code inside the frame parser.

Yes frames are cheap, but they also offer an API surface that things get
sticky to. For example, reporting and metrics based on frame type counts
etc. That adds more overhead to an ad-hoc short-lived data-gathering
experiment.

Lucas

On Thu, Aug 8, 2019 at 6:39 PM Kari Hurtta <hurtta-ietf@elmme-mailer.org>
wrote:

> <  ⋯ >
> > > In Montreal we also discussed a possible experiment where the H2
> PRIORITY
> > > frame contents would be repurposed, which requires a compatible server
> to
> > > read it correctly. In this case the signal would be more like "will
> send in
> > > an RFC7540-incompatible format".
> > >
> > > Lucas
> > >
> >
> > Eurgh, why?  Are we that short on frame types?
> >
> > Cheers
> > --
> >   Matthew Kerwin
> >   https://matthew.kerwin.net.au/
>
> Yes, it makes sense to allocate new type number for PRIORITY when frame
> content is repurposed.
>
> Also is make sense to allocate new type number for HEADERS when
> "Stream Dependency" or "Weight" field of HEADERS frame conrent is
> repurposed.
>
> That avaind dance about on what point on time change of  "Stream
> Dependency" / "Weight" field"
> field happens.
>
>
> If you are running out of framer's type numbers, reserve some number for
> "extended type number". ☻
>
> / Kari Hurtta
>
>