Re: [quicwg/base-drafts] Stream creation order (#634)

ThomasSwindells <notifications@github.com> Thu, 28 September 2017 08:16 UTC

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 4EBA5135567 for <quic-issues@ietfa.amsl.com>; Thu, 28 Sep 2017 01:16:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.799
X-Spam-Level:
X-Spam-Status: No, score=-4.799 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_MSPIKE_H2=-2.8, 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=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 FuhJt7DaIPil for <quic-issues@ietfa.amsl.com>; Thu, 28 Sep 2017 01:16:34 -0700 (PDT)
Received: from o5.sgmail.github.com (o5.sgmail.github.com [192.254.113.10]) (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 97EC91344C1 for <quic-issues@ietf.org>; Thu, 28 Sep 2017 01:16:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=I8n6Ar7YF/bsdZQIika4N3868XI=; b=Whh+wWrLueKM4SOl wlz8Uzn/TSYmXjtmfRREKE++yupt1lmHCC62+w/lAebf0XMF4PSq03OIG42IBunb NcMIbN+E892/wfWECybpeaQLyV/JB9OqW7yEGcIrjDE9tret+PddVHR25wRY1l7D E5igxm1mcnqWHMkiwNgHm4NqA3U=
Received: by filter1189p1mdw1.sendgrid.net with SMTP id filter1189p1mdw1-3678-59CCAFE1-13 2017-09-28 08:16:33.747400085 +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 ismtpd0007p1iad1.sendgrid.net (SG) with ESMTP id _nKML7d6QQ-LEEUJTE7_sw for <quic-issues@ietf.org>; Thu, 28 Sep 2017 08:16:33.655 +0000 (UTC)
Date: Thu, 28 Sep 2017 08:16:33 +0000
From: ThomasSwindells <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab11caac364528a20550ac5fcb3852257b7909699692cf0000000115e471e192a169ce0e164e9f@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/634/332763510@github.com>
In-Reply-To: <quicwg/base-drafts/issues/634@github.com>
References: <quicwg/base-drafts/issues/634@github.com>
Subject: Re: [quicwg/base-drafts] Stream creation order (#634)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59ccafe17f7be_15b83f80e06c0f341034cc"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ThomasSwindells
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3VdfGZFtbHItdkv+Z2rX2Q+3ihT1Ai/KsaY6 K4XUcuo4pXWSF2UtXYAvvyFUpbjzzJPc4LzWMSTxvu8MtsiH8C/dGOrShmd6HtxDFgX43XfpsPG3Ho USKp23GheBuXC2/ZmFbag9eFDImB1tq1PKT8Ry6XFJfkP9SuxuGJeqqW3fXSLEylcNoMmeqPli5JqS 0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/WIih_bzKCje1mM6hh3zQ6fKBSms>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 28 Sep 2017 08:16:36 -0000

If you are treating streams as being message and have multiple producer threads of those messages then being able to allocate each thread its own pool of stream ids removes some message by message synchronization requirements. You could also assign different blocks of message ids to different cpu cores to have a quick and easy way to keep processing affinity. Admittedly none are killer requirements, but spinning your question round, why would you want to impose strict serialization of the system if you don’t have to?

From: Martin Thomson [mailto:notifications@github.com]
Sent: 28 September 2017 03:19
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [quicwg/base-drafts] Stream creation order (#634)


Your implementation point there seems to motivate the opposite. As Mike said, receiving stream X might open stream X-2, but the receiver doesn't have to do anything at that point.

Here's a different way to think about this: why do you want to open streams out of order?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/quicwg/base-drafts/issues/634#issuecomment-332708135>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AYUiYlMerfA0aFMs2b8dn_RWUtLTwVZ5ks5smwIegaJpZM4N73Yh>.


-- 
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/634#issuecomment-332763510