Re: [quicwg/base-drafts] When should server-chosen connection IDs be sent and how are they indicated? (#349)
Igor Lubashev <notifications@github.com> Fri, 03 March 2017 00:13 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 C882312950B for <quic-issues@ietfa.amsl.com>; Thu, 2 Mar 2017 16:13:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 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=-0.001, 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 ZVjZvG3sikgV for <quic-issues@ietfa.amsl.com>; Thu, 2 Mar 2017 16:13:44 -0800 (PST)
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2-ext2.iad.github.net [192.30.252.193]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47FDD12940D for <quic-issues@ietf.org>; Thu, 2 Mar 2017 16:13:44 -0800 (PST)
Date: Thu, 02 Mar 2017 16:13:43 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1488500023; bh=uol4n1nRWI74CpkC3HPSBeDuu3FogsJF542YxQ+GtvY=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=gUhjCxstxTY6HBsNn2QYGop4UdORhc/CKOI8KgfB54BRti4PxWy06PerHqf4NStcj lPxMI0jGX6gBdxFa8LajZobqxmxh3Gxj81Eq1uXchqEgeK9vaMiTHI/QM5PZacyWye K9Vst2/7imDDvqomlFamZb1QPBhsfW0rqdgmA12s=
From: Igor Lubashev <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/349/283824809@github.com>
In-Reply-To: <quicwg/base-drafts/issues/349@github.com>
References: <quicwg/base-drafts/issues/349@github.com>
Subject: Re: [quicwg/base-drafts] When should server-chosen connection IDs be sent and how are they indicated? (#349)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_58b8b5379551b_120d3feca3dbfc3433671"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: igorlord
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/HQdOG8EX2eq0doHPbM7mGgEtNDg>
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: Fri, 03 Mar 2017 00:13:45 -0000
This is close to how the load balancer would work (already works), with minor changes. 2. Packet whose connection ID says it's bound for a server that's no longer behind the load balancer. This is actually unclear. If you mean: 2.A. The server is no longer eligible to serve _new_ connections, that's just like case 1 for existing connections. 2.B. The server suddenly lost its state (went offline, rebooted, app restarted), then the load balancer may not even know this, but it is bad news for existing connections: blackhole, ICMP Host Unreach, or ICMP Port Unreach, or PubReset. 3. Packet whose Connection ID doesn't decode properly. _I would really like to avoid relying on random Connection ID not decoding_ to identify it as a "client-selected". FWIW, the load balancer has many servers behind it (possibly O(10^5) servers, for a Global-scale load balancer), so it may have to be very permissive for what qualifies as "decoding". If the load balancer can tell _with certainty_ that it is looking at a client-selected ID: 1. If this 5-tuple (or ConnectionID, if it is not 0) is present in its local _short-lived_ map, forward to the server identified by that map, 2. Otherwise, choose a server for this connection using whatever policy, store this decision in the local short-lived map, and forward the packet to the chosen server. That short-lived map would only keep data for O(seconds) and would not be shared within the load balancer pool. To further ensure robustness, packets with a client-selected ID would first be forwarded within a load balancer pool to a load balancer via a consistent hash (so they all land on the same lb machine). [I am omitting extra care needed when a new lb machine is added to / old lb machine deleted from the pool.] -- 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/349#issuecomment-283824809
- [quicwg/base-drafts] When should server-chosen co… Ryan Hamilton
- Re: [quicwg/base-drafts] When should server-chose… Igor Lubashev
- Re: [quicwg/base-drafts] When should server-chose… Martin Thomson
- Re: [quicwg/base-drafts] When should server-chose… Mike Bishop
- Re: [quicwg/base-drafts] When should server-chose… Martin Thomson
- Re: [quicwg/base-drafts] When should server-chose… Igor Lubashev
- Re: [quicwg/base-drafts] When should server-chose… mirjak
- Re: [quicwg/base-drafts] When should server-chose… Mike Bishop
- Re: [quicwg/base-drafts] When should server-chose… Martin Thomson
- Re: [quicwg/base-drafts] When should server-chose… Martin Thomson