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 C0BF9130DD5
 for <quic-issues@ietfa.amsl.com>; Mon, 12 Nov 2018 02:16:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.47
X-Spam-Level: 
X-Spam-Status: No, score=-3.47 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001,
 MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, 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 OeY1W93S5J9m for <quic-issues@ietfa.amsl.com>;
 Mon, 12 Nov 2018 02:16:37 -0800 (PST)
Received: from o4.sgmail.github.com (o4.sgmail.github.com [192.254.112.99])
 (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 239BE1277BB
 for <quic-issues@ietf.org>; Mon, 12 Nov 2018 02:16:37 -0800 (PST)
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=pNHHk8dq0ROeHz5+vPRK02nnXog=; b=jEhG/3wAZ1CMcmiN
 xLwZFbIbyNC9YyCVRR/v4A7HSd7PMGSr1Gu/wHX/vhpCBsarK02yeFTbwDc/hi7w
 vagE117WaxUjO2Knww2+ClAr4eVPUDtm1QRnc+FnnI1l1X887pJUxmUEP73bdMkW
 U/mZ0HEctlOxeSVfqQBx8eFzJeU=
Received: by filter1428p1mdw1.sendgrid.net with SMTP id
 filter1428p1mdw1-27634-5BE95304-5
 2018-11-12 10:16:36.201461741 +0000 UTC m=+404490.454120687
Received: from github-lowworker-97d0962.cp1-iad.github.net (unknown
 [192.30.252.41])
 by ismtpd0010p1iad2.sendgrid.net (SG) with ESMTP id 19VfMkT0ToecNYbkhF7SFw
 for <quic-issues@ietf.org>; Mon, 12 Nov 2018 10:16:36.201 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1])
 by github-lowworker-97d0962.cp1-iad.github.net (Postfix) with ESMTP id
 2C73880868
 for <quic-issues@ietf.org>; Mon, 12 Nov 2018 02:16:36 -0800 (PST)
Date: Mon, 12 Nov 2018 10:16:36 +0000 (UTC)
From: Marten Seemann <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+0166e4ab0883bc7eafc3ecd78e75e43e396f38d28c67440c92cf000000011801150492a169ce16a1bb2f@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1992/review/173829561@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1992@github.com>
References: <quicwg/base-drafts/pull/1992@github.com>
Subject: Re: [quicwg/base-drafts] Endpoint MAY discard CIDs (#1992)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5be953042af99_43f63fa588cd45c01118f3";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: marten-seemann
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak33wWDyI/LeUxsTq4i1DNUfrmXJZYnvb6jgZB
 9dswkz/8/CzFjBnqGXh6mLy3hjoKkkT1DDc5uyMTJYhjIkjaOh4+0CCwkbYKq3/jZj8NNeZnj9UEDH
 UA76MzHT83ONwl3L7+5WIKivaioI+/o7aowv8eUoqLzGsP5zaHBTb9Z+sYOqRq1x3DCqu7piWmDr0X
 0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/4f2MzRZ7MPkpjDBPr2U-PIIWidY>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 12 Nov 2018 10:16:39 -0000

----==_mimepart_5be953042af99_43f63fa588cd45c01118f3
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

marten-seemann requested changes on this pull request.

Issuing too many connection IDs doesn't hurt in the case where the server uses a deterministic routing scheme to associate connection IDs to connections (except for the obviously wasted bandwidth). However, there's a different approach (which I chose in my implementation). I'm keeping a mapping connection ID => connection around for every single connection ID I issue. This allows me to use very short (4 bytes) connection IDs. If an implementation like this issues too many connection IDs, and the peer starts dropping them, it will have to keep state for every dropped connection ID until the end of the connection.

This is trivially solved if each peer declares the number of connection IDs it is willing to store in a transport parameter. Based on @dtikhonov's thread on the mailing list, I was planning to contribute a PR for this.



-- 
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/pull/1992#pullrequestreview-173829561
----==_mimepart_5be953042af99_43f63fa588cd45c01118f3
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p><b>@marten-seemann</b> requested changes on this pull request.</p>

<p>Issuing too many connection IDs doesn't hurt in the case where the server uses a deterministic routing scheme to associate connection IDs to connections (except for the obviously wasted bandwidth). However, there's a different approach (which I chose in my implementation). I'm keeping a mapping connection ID =&gt; connection around for every single connection ID I issue. This allows me to use very short (4 bytes) connection IDs. If an implementation like this issues too many connection IDs, and the peer starts dropping them, it will have to keep state for every dropped connection ID until the end of the connection.</p>
<p>This is trivially solved if each peer declares the number of connection IDs it is willing to store in a transport parameter. Based on <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=4528576" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dtikhonov">@dtikhonov</a>'s thread on the mailing list, I was planning to contribute a PR for this.</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/pull/1992#pullrequestreview-173829561">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AWbkq8peYLOv4aSZp2ykQMCAZB2zjnyYks5uuUqEgaJpZM4YZTGe">mute the thread</a>.<img src="https://github.com/notifications/beacon/AWbkq7gJQ1mFqzQu2dxIVlJVLxVV-j-9ks5uuUqEgaJpZM4YZTGe.gif" height="1" width="1" alt="" /></p>
<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://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/quicwg/base-drafts"}},"updates":{"snippets":[{"icon":"PERSON","message":"@marten-seemann requested changes on #1992"}],"action":{"name":"View Pull Request","url":"https://github.com/quicwg/base-drafts/pull/1992#pullrequestreview-173829561"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/pull/1992#pullrequestreview-173829561",
"url": "https://github.com/quicwg/base-drafts/pull/1992#pullrequestreview-173829561",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "@marten-seemann requested changes on 1992",
"sections": [
{
"text": "Issuing too many connection IDs doesn't hurt in the case where the server uses a deterministic routing scheme to associate connection IDs to connections (except for the obviously wasted bandwidth). However, there's a different approach (which I chose in my implementation). I'm keeping a mapping connection ID =\u003e connection around for every single connection ID I issue. This allows me to use very short (4 bytes) connection IDs. If an implementation like this issues too many connection IDs, and the peer starts dropping them, it will have to keep state for every dropped connection ID until the end of the connection.\r\n\r\nThis is trivially solved if each peer declares the number of connection IDs it is willing to store in a transport parameter. Based on @dtikhonov's thread on the mailing list, I was planning to contribute a PR for this.",
"activityTitle": "**Marten Seemann**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@marten-seemann",
"facts": [

]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/quicwg/base-drafts/pull/1992#pullrequestreview-173829561"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 409285022\n}"
}
],
"themeColor": "26292E"
}
]</script>
----==_mimepart_5be953042af99_43f63fa588cd45c01118f3--

