Re: [quicwg/base-drafts] Unidirectional streams (#175)

Ryan Hamilton <notifications@github.com> Wed, 08 February 2017 00:46 UTC

Return-Path: <noreply@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 3DA7D129431 for <quic-issues@ietfa.amsl.com>; Tue, 7 Feb 2017 16:46:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.887
X-Spam-Level:
X-Spam-Status: No, score=-8.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-1.887, 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 AamJ7wmE8db3 for <quic-issues@ietfa.amsl.com>; Tue, 7 Feb 2017 16:46:09 -0800 (PST)
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2-ext1.iad.github.net [192.30.252.192]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD5BC1293F0 for <quic-issues@ietf.org>; Tue, 7 Feb 2017 16:46:09 -0800 (PST)
Date: Tue, 07 Feb 2017 16:46:08 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1486514768; bh=xOuqh2SgbbDqWyI+hGzjKpQ+NxEvLWIZumMnCqlwhc8=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=g5q75CL/4vWnY8FSfONcj3FPm8GRgOWCYW42IzauATsBakbsSuaErweGjzmKk7h99 peHibgKumfFoQVMXBPwal4+pbwsEfZUI+LJvmSIOauRXsQdoZxsG0tb2C61PGZ4GZA cV8uidC7U5rSQHRuEzdn/30n4voo066G7u5kUUl4=
From: Ryan Hamilton <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/175/278193326@github.com>
In-Reply-To: <quicwg/base-drafts/issues/175@github.com>
References: <quicwg/base-drafts/issues/175@github.com>
Subject: Re: [quicwg/base-drafts] Unidirectional streams (#175)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_589a6a50cf5e0_6c203fc838bdd13052176"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: RyanAtGoogle
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/FkdS0EdwB9Rt1HZFUyu4_rS-Fz8>
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: Wed, 08 Feb 2017 00:46:11 -0000

Ah. I see what you're getting at. I agree that there are some similarities here. Thanks!

On the other hand, I think there are some significant differences. While it's clear that in the promise case, the server can promise streams that it is not ready to send, the server is in a position to know the relative importance of the various resources it wishes to push and can chose to send them in the order that is most useful to the client. However, the server is not in a position to know the relative importance of the pushed stream to the not-yet-received request(s) from the client. This puts the server in the position of being unable to service a high-priority request when it arrives. In the push case, the server could chose to pause sending on the open push streams to reply to the request. It could also chose not to promise a push of an important sub-resounce of that request because it knows that it is at the push stream limit. This would allow the client to request that subresource and reply via a non-push stream.


-- 
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/175#issuecomment-278193326