Re: Priority implementation complexity (was: Re: Extensible Priorities and Reprioritization)

"Roy T. Fielding" <fielding@gbiv.com> Tue, 09 June 2020 22: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 C7F283A0D79 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jun 2020 15:44:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gbiv.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 REsvom3Ag8cA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jun 2020 15:44:55 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 3E0CC3A0834 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 9 Jun 2020 15:44:46 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jimwD-0003wP-JB for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Jun 2020 22:41:45 +0000
Resent-Date: Tue, 09 Jun 2020 22:41:45 +0000
Resent-Message-Id: <E1jimwD-0003wP-JB@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fielding@gbiv.com>) id 1jimwB-0003vd-MT for ietf-http-wg@listhub.w3.org; Tue, 09 Jun 2020 22:41:43 +0000
Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fielding@gbiv.com>) id 1jimw9-0005SQ-To for ietf-http-wg@w3.org; Tue, 09 Jun 2020 22:41:43 +0000
X-Sender-Id: dreamhost|x-authsender|fielding@gbiv.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 797DB3412DC for <ietf-http-wg@w3.org>; Tue, 9 Jun 2020 22:41:28 +0000 (UTC)
Received: from pdx1-sub0-mail-a24.g.dreamhost.com (100-96-137-11.trex.outbound.svc.cluster.local [100.96.137.11]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1F936341830 for <ietf-http-wg@w3.org>; Tue, 9 Jun 2020 22:41:27 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|fielding@gbiv.com
Received: from pdx1-sub0-mail-a24.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Tue, 09 Jun 2020 22:41:28 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|fielding@gbiv.com
X-MailChannels-Auth-Id: dreamhost
X-Bitter-Tank: 5abeb9750915babb_1591742488185_802983211
X-MC-Loop-Signature: 1591742488185:2917950079
X-MC-Ingress-Time: 1591742488184
Received: from pdx1-sub0-mail-a24.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTP id D52E57F61B for <ietf-http-wg@w3.org>; Tue, 9 Jun 2020 15:41:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=from :content-type:content-transfer-encoding:mime-version:subject :date:references:to:in-reply-to:message-id; s=gbiv.com; bh=EXoaY LDQpiLUg8U4h+ZvmTG4d4w=; b=PfcLERzRDc0QHDRlP87qg/sf7TGQ5zMHRCa4I ikXybnr9qfj3aNOYzDtDayiLDrZmLuXZFOLEKkdvci8n+f/GghTNqkLmAkv5YTjy S2DiHwceHtMDVIthyA6BFb0eDgXqCdSA9UDbmu3NYta9BixMenzLf9Mavx/c83+V nWoYmc=
Received: from [192.168.1.11] (ip68-228-81-25.oc.oc.cox.net [68.228.81.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTPSA id 7BE397F5F3 for <ietf-http-wg@w3.org>; Tue, 9 Jun 2020 15:41:25 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a24
From: "Roy T. Fielding" <fielding@gbiv.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
Date: Tue, 09 Jun 2020 15:41:23 -0700
References: <CALGR9obRjBSADN1KtKF6jvFVzNS1+JzaS0D0kCVKHKkd4sn+MQ@mail.gmail.com> <459C86F8-A989-4EF4-84DC-3568FF594F36@apple.com> <CANatvzwSpSHd7kZD-4tyMGkBJDdCBi6r_pLBvnaT8rrQy6SBHQ@mail.gmail.com> <CACMu3treK0m2mbpw9FebOjOcEed0bW-DbLbryHJH1DWAHoz+9g@mail.gmail.com> <CALGR9oZgE7ZfXdoYdUh9LUYC1fi8fMUyyTpvmV3GF7Z6Oxgg1g@mail.gmail.com> <20200609144428.GC22180@lubuntu> <CALGR9oaXVvAEOu57qrVdyGkjRsE_MDOa_cjFbecZFfWV1x8uVg@mail.gmail.com> <20200609194145.GA26778@lubuntu>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <20200609194145.GA26778@lubuntu>
Message-Id: <5DA77803-A64F-4E1D-8D60-D250452D3DAC@gbiv.com>
X-Mailer: Apple Mail (2.3445.104.14)
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudehhedgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfuffhfvfgjkffosehtqhhmtdhhtddvnecuhfhrohhmpedftfhohicuvfdrucfhihgvlhguihhnghdfuceofhhivghlughinhhgsehgsghivhdrtghomheqnecuggftrfgrthhtvghrnhepjedugeegueeufedutdfhjeeihfefgfefgeehheethfeggfejieefgfefhefguddvnecukfhppeeikedrvddvkedrkedurddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegludelvddrudeikedruddruddungdpihhnvghtpeeikedrvddvkedrkedurddvhedprhgvthhurhhnqdhprghthhepfdftohihucfvrdcuhfhivghlughinhhgfdcuoehfihgvlhguihhnghesghgsihhvrdgtohhmqedpmhgrihhlfhhrohhmpehfihgvlhguihhnghesghgsihhvrdgtohhmpdhnrhgtphhtthhopehivghtfhdqhhhtthhpqdifghesfiefrdhorhhg
Received-SPF: pass client-ip=23.83.212.17; envelope-from=fielding@gbiv.com; helo=bird.elm.relay.mailchannels.net
X-W3C-Hub-Spam-Status: No, score=-6.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1jimw9-0005SQ-To e34dae9c1e6bd767933046333a6e2453
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Priority implementation complexity (was: Re: Extensible Priorities and Reprioritization)
Archived-At: <https://www.w3.org/mid/5DA77803-A64F-4E1D-8D60-D250452D3DAC@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37743
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>

On Jun 9, 2020, at 12:41 PM, Dmitri Tikhonov <dtikhonov@litespeedtech.com> wrote:
> On Tue, Jun 09, 2020 at 08:22:10PM +0100, Lucas Pardue wrote:
>> On Tue, Jun 9, 2020 at 3:44 PM Dmitri Tikhonov <dtikhonov@litespeedtech.com>
>> wrote:
>>> 
>>> I don't think we can judge either way.  If Alice implements QPACK and
>>> Bob implement reprioritization, results will vary based on their level
>>> of competence.  The degree of burden will also vary for each
>>> particular implementation.
>> 
>> I agree that, all things considered, QPACK and prioritization are
>> dissimilar. However, this thread is specifically exploring the mechanics of
>> the reprioritization mechanism, which requires a signal received on one
>> stream (the control stream) to affect the send behaviour on another. There
>> is always a possibility of a race here. My conjecture is that the
>> priorities race ends up being is similar to QPACK'S (i.e. handling blocked
>> streams). And therefore if Alice implements QPACK dynamic support
>> competently, then implementing reprioritization is no more difficult.
> 
> My point was that Alice may have no problem implementing repriotization,
> but Bob very well might!  That is to say, there may be more than one
> person working on an HTTP/3 stack.  After Bob gives up after three
> months leaving reprioritization a steaming pile of crap, Alice (who's
> grown to hate that fool) inherits Bob's code, but may not be able to
> make a good implementation given tight deadlines.  Alice gets blamed;
> Bob gets promoted.  The story gets sadder and sadder in my mind, so
> I better stop.

Umm, yeah.

May I suggest that we include all of the signals necessary to reprioritize and
leave it up to the recipients whether or not to implement them? That's what
we have to deal with anyway given the latency issues.

....Roy