Re: Stream State and PRIORITY Frames

Scott Mitchell <scott.k.mitch1@gmail.com> Tue, 17 January 2017 20:18 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 B2ABA129480 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jan 2017 12:18:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.219
X-Spam-Level:
X-Spam-Status: No, score=-10.219 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.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.199, SPF_HELO_PASS=-0.001, 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 fzGmywwYdZMt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jan 2017 12:18:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56FE712945F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jan 2017 12:18:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cTaBi-0006XS-61 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jan 2017 20:17:02 +0000
Resent-Date: Tue, 17 Jan 2017 20:17:02 +0000
Resent-Message-Id: <E1cTaBi-0006XS-61@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <scott.k.mitch1@gmail.com>) id 1cTaBe-0006Ud-Tk for ietf-http-wg@listhub.w3.org; Tue, 17 Jan 2017 20:16:58 +0000
Received: from mail-lf0-f54.google.com ([209.85.215.54]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <scott.k.mitch1@gmail.com>) id 1cTaBY-00030I-G3 for ietf-http-wg@w3.org; Tue, 17 Jan 2017 20:16:53 +0000
Received: by mail-lf0-f54.google.com with SMTP id n124so48768174lfd.2 for <ietf-http-wg@w3.org>; Tue, 17 Jan 2017 12:16:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=P/FeikQTfnP3+LsGR01O6EfdyJl7WNGMpoIldA9i7Z4=; b=qwhjUS5nLKDwvmOowb01qPUxLwW7ngFYq83mism8kzqjHUmX8aSwBe7W8Vj2rx2PYv NzMnOpXmPHFeuXX5BiduP6zm1hlzMatAZTC6WloiJKS1bGcJ4RuFdaJ6ovcEo0OY7z0b J/mRUQObumq/8EJjHxB1VPHzX7g65g/dBEbevlKL3RTPCYEKBmry2CDf5OZa5f/rcn4j /eGmQTkWZ29DcmjsjidJ+my6HBO7zlwAzMQaMInerjiRzBllXPP3RiKqVNLPP2iBk/i+ q4SKLHlSm7vYr3CjP6zhedW2ud29EhF0ordgbnebkJR88oORtmSHpXflOKS0QPzZev/X ezCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=P/FeikQTfnP3+LsGR01O6EfdyJl7WNGMpoIldA9i7Z4=; b=TJik9ouQKap5lJMd5RdlZrGLrNeJb2BPi6eIoDWKtBRM+w968ltPL79lt7NTlY74PN 7V13cbybd2UHqtu5GAK8yMGyRNGMY2BJAxN/NZFF7k28mJzcZfFYuhnd9Vn6dZJIWy5L gKAy1xCQ+ArQR9glTTNNzmP+gkfjU8BR6UAIcMTT3Wg+29VvT5nrY6Q4pbAO2+Ej7jOq 3ugbRrQojbdCNoPW4XhiMM7pkEBr8tu8k50lIbjn1z1I4iyDiOMPQ0VdvLH6r7wgWWj2 9jPICv7AQie/YLsCJUCpXjPHSD2T90nlIxE1AV+EawUdys1eFIlMg81wn6SgGkbRHrZl dn2w==
X-Gm-Message-State: AIkVDXJcum+SpKvt07XnsEJdMPkWmiVt1HlgcP4Q732mkPp8nHcKtuJpALgbxefCzKKisSfvB7/wF18ahdERJA==
X-Received: by 10.25.34.196 with SMTP id i187mr15072394lfi.176.1484684185603; Tue, 17 Jan 2017 12:16:25 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.18.200 with HTTP; Tue, 17 Jan 2017 12:16:24 -0800 (PST)
In-Reply-To: <CACweHNC6ZCoYirW10hJFnMZAa+C5HWwDqosnoO9J0ADAWEu0WA@mail.gmail.com>
References: <CAFn2buAYWHQSWhhoKZ2GKbqXR1A+tScjkAwZmOuQ9gV9jMp2bA@mail.gmail.com> <CAGZNdJWe0Y=M_SWmgYabKbWZwPEuJdw67Km8+UtR4oUtZuXA5A@mail.gmail.com> <2BC01E49-91A1-43A7-AFD0-5A34F2689428@lukasa.co.uk> <CAFn2buC7vM1Ff13A305-2bLBLRzLVaURufGCDrpm_rs82jwkwQ@mail.gmail.com> <08A9D76A-CD55-4390-8DED-61210D1A67DB@lukasa.co.uk> <CAFn2buD8GORgdpACbuc60RmkeL+yBcb-RZSwwGjTKugWeeNUSQ@mail.gmail.com> <CACweHNC6ZCoYirW10hJFnMZAa+C5HWwDqosnoO9J0ADAWEu0WA@mail.gmail.com>
From: Scott Mitchell <scott.k.mitch1@gmail.com>
Date: Tue, 17 Jan 2017 12:16:24 -0800
Message-ID: <CAFn2buD_AMHQKWadMhTN0abCFHWdWHXA1V-29H=dtsJGswd51Q@mail.gmail.com>
To: Matthew Kerwin <matthew@kerwin.net.au>
Cc: Cory Benfield <cory@lukasa.co.uk>, Benedikt Christoph Wolters <benedikt.wolters@rwth-aachen.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a113a9ea07c936205464ff902"
Received-SPF: pass client-ip=209.85.215.54; envelope-from=scott.k.mitch1@gmail.com; helo=mail-lf0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-0.345, BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cTaBY-00030I-G3 d87234644c726c8c06b571483c259e61
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Stream State and PRIORITY Frames
Archived-At: <http://www.w3.org/mid/CAFn2buD_AMHQKWadMhTN0abCFHWdWHXA1V-29H=dtsJGswd51Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33310
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>

On Tue, Jan 17, 2017 at 11:26 AM, Matthew Kerwin <matthew@kerwin.net.au>
wrote:

>
>
> On 18 January 2017 at 04:35, Scott Mitchell <scott.k.mitch1@gmail.com>
> wrote:
>
>>
>>
>> Ahh yes I forgot about this. Thanks for reminding me.
>>
>> Any thoughts on limiting the stream priority?
>>
>>
>
> ​It's a hint. If you run out of resources to maintain it, discard it?
>

Of course. I was curious if anyone can share successful policies/heuristics
they have employed to limit the number of streams in this state, but still
try to honor a client's desire to prioritize streams. For example a policy
like "discard lowest stream ID" may be limiting if the client initially
creates the most important QoS streams upfront, but then at a later time
exceeds the peer's implementation defined limit on priority streams.


>
> Cheers
> --
>   Matthew Kerwin
>   http://matthew.kerwin.net.au/
>