Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id BE5DE12941D
 for <quic-issues@ietfa.amsl.com>; Tue, 27 Dec 2016 14:27:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.416
X-Spam-Level: 
X-Spam-Status: No, score=-4.416 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01,
 RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.1, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
 header.d=github.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 ol1vtfTuRxim for <quic-issues@ietfa.amsl.com>;
 Tue, 27 Dec 2016 14:27:02 -0800 (PST)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 17CBD129438
 for <quic-issues@ietf.org>; Tue, 27 Dec 2016 14:27:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; 
 h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
 s=s20150108; bh=QW73YVAKLTdYqdOtxIuCuWwn+Vk=; b=d9LPCGV6vRVQEBTj
 IBbyOF6PRL5W7g+0dXRPWfDZ32zv4Adcrei7mvsFQbKXetydG2dqdzUykawKShny
 iLUoBMLB71YdHwS30ccQGn/VOxaC1nT0dwQQdCEOBHQ5Z4pzkOsJoUDlQsuhYxNO
 TmbtIGnvVNJ1qoNt+VobaeR6Iw0=
Received: by filter0416p1mdw1.sendgrid.net with SMTP id
 filter0416p1mdw1-14820-5862EA80-64
 2016-12-27 22:26:08.893829605 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net
 (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16])
 by ismtpd0006p1iad1.sendgrid.net (SG) with ESMTP id NhM79hsyT6S9y4my3vzIlA
 for <quic-issues@ietf.org>; Tue, 27 Dec 2016 22:26:08.894 +0000 (UTC)
Date: Tue, 27 Dec 2016 14:26:08 -0800
From: Mike Bishop <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/104@github.com>
Subject: [quicwg/base-drafts] Priority in QUIC Transport (#104)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5862ea80bff00_33db3fb5df77d13c438775";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3anlDlGXy6PEeAv9rdbHsCvzLGPENVbzmkVS
 UbVBLaoRY7f1T4oboyODoOhU9+XAdYQGsVHPMN5s64+N/mdzUBUJ8czvH69nvIOoLo5JeTn2icbkkj
 cYkgZDfZMKPdpPvmXMQHmecVABqEKm/GWlSLKV79FDkFXg5ICt2TtIdrA89PbWi2rjTgCVZRngVOYI
 8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/iDU9_xSowH-lnZiq5j_Z9Pq1juw>
Cc: Subscribed <subscribed@noreply.github.com>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quic@ietf.org
List-Id: Notification list for GitHub issues related to the QUIC WG
 <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>,
 <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>,
 <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Dec 2016 22:27:04 -0000

----==_mimepart_5862ea80bff00_33db3fb5df77d13c438775
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

The way HTTP/2 Priority is generally implemented is to keep a minimal amount in the TLS pipeline / TCP send buffer, retaining as much flexibility as possible to insert frames from high-priority streams ahead of those from lower-priority streams if they become available before the low-priority frames have been "committed".  Once data has been encrypted or sent to TCP, it must be sent even if higher-priority data has become available.

If the QUIC transport layer has no notion of priority, HTTP may have to do the same on each stream.  It might be preferable to provide the data for each stream into the transport as it becomes available, since the transport is already performing the framing functionality.

This need not be a wire format change (HTTP can continue to communicate priority at its layer), but should perhaps be noted as a useful property of an implementation and part of the defined interface with the application layer.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/104
----==_mimepart_5862ea80bff00_33db3fb5df77d13c438775
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>The way HTTP/2 Priority is generally implemented is to keep a minimal amount in the TLS pipeline / TCP send buffer, retaining as much flexibility as possible to insert frames from high-priority streams ahead of those from lower-priority streams if they become available before the low-priority frames have been "committed".  Once data has been encrypted or sent to TCP, it must be sent even if higher-priority data has become available.</p>
<p>If the QUIC transport layer has no notion of priority, HTTP may have to do the same on each stream.  It might be preferable to provide the data for each stream into the transport as it becomes available, since the transport is already performing the framing functionality.</p>
<p>This need not be a wire format change (HTTP can continue to communicate priority at its layer), but should perhaps be noted as a useful property of an implementation and part of the defined interface with the application layer.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/quicwg/base-drafts/issues/104">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AWbkq6dLmReAZN5WQcm5U9hVmoVjw5ddks5rMZCAgaJpZM4LWi4b">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AWbkq3Iu6Wb8OLgjqBwUD9Y7gFoeVxv7ks5rMZCAgaJpZM4LWi4b.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/quicwg/base-drafts/issues/104"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/quicwg/base-drafts","title":"quicwg/base-drafts","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/quicwg/base-drafts"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Priority in QUIC Transport (#104)"}],"action":{"name":"View Issue","url":"https://github.com/quicwg/base-drafts/issues/104"}}}</script>
----==_mimepart_5862ea80bff00_33db3fb5df77d13c438775--

