Re: Redirection to Other IP Addresses

Kyle Rose <krose@krose.org> Mon, 29 July 2019 17:51 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D36E120151 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Jul 2019 10:51:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.751
X-Spam-Level:
X-Spam-Status: No, score=-2.751 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 iq3eoSsx4ju0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Jul 2019 10:51:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5288E1203C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 Jul 2019 10:51:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hs9lt-0003zn-Uw for ietf-http-wg-dist@listhub.w3.org; Mon, 29 Jul 2019 17:49:17 +0000
Resent-Date: Mon, 29 Jul 2019 17:49:17 +0000
Resent-Message-Id: <E1hs9lt-0003zn-Uw@frink.w3.org>
Received: from uranus.w3.org ([128.30.52.58]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <krose@krose.org>) id 1hs9lq-0003z2-2v for ietf-http-wg@listhub.w3.org; Mon, 29 Jul 2019 17:49:14 +0000
Received: from www-data by uranus.w3.org with local (Exim 4.89) (envelope-from <krose@krose.org>) id 1hs9lp-0005qI-Sn for ietf-http-wg@listhub.w3.org; Mon, 29 Jul 2019 17:49:13 +0000
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <krose@krose.org>) id 1hs6wt-0004C1-1g for ietf-http-wg@listhub.w3.org; Mon, 29 Jul 2019 14:48:27 +0000
Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <krose@krose.org>) id 1hs6wr-0007SF-RJ for ietf-http-wg@w3.org; Mon, 29 Jul 2019 14:48:26 +0000
Received: by mail-yb1-xb2c.google.com with SMTP id i1so14724291ybo.4 for <ietf-http-wg@w3.org>; Mon, 29 Jul 2019 07:48:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ck1IcBKsu4LAYIDyp/LRTHcsa1qwcxBHUjJH5ZhQIok=; b=C5n4QkprjAaX02REQXxdj2XmnOKiSN8sDyiPDeulJj3zH2P/HNQOuz/9LWFoGStSEO JcQ8Vv1xG94U6XNpPiLCAWGqPT3XzTA1iRe9mnWcVg/b3L5euw0yHo0nE4vuw4cVwyYT r26JgbFTamwMuO7c48HqUV/6OF29To0uKVwjM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ck1IcBKsu4LAYIDyp/LRTHcsa1qwcxBHUjJH5ZhQIok=; b=VrNuHq1kL118kimqsuYTcgHZYdujVThTVpQ6/QebZ6CS67bfvQ+vSkgd0UIQl/NfEL uvpneIDWvhpd3lE10WpYueUn1UiWhCaGGgcLI8yStdQLRcutxWVUwU3wS2oxLxUAhp0z 4JtFk6c8uiqizMkus1BAbvPROgsRnJiIwaQVvj9z8BHrZHg5jucJWWgcbWH1c5nUmrzG ZM34DRR9/MUc0QMBqzIMta/kNOblRDCj7+IoUJpKfWGhulet7m/QCu8xTiOfW6SEAlp9 ykLwdb9jTz/L4ms2djn7+wSC1UwVIpHAWxL17ktBLKPIEcUsTG/7pra11rPBh0QsnRqG DBEA==
X-Gm-Message-State: APjAAAWcyVUvcP9FlExEokWSzvXHVm7pJanS62UyiCVe6/G/G0XHGROM 675qvdx0x+ZAEi8Ig3xZVLCZvm8DBeuZMb/uOGw=
X-Google-Smtp-Source: APXvYqxtwC/MsyQCtt5uGD1YJG91pAVGfMNbI0ERELbBxgMS9cBOFz9bJ5suYR7dSSjLoKXVZ5+GbiHour7EGWF8kZc=
X-Received: by 2002:a25:6707:: with SMTP id b7mr62314468ybc.82.1564411683614; Mon, 29 Jul 2019 07:48:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAFifEMLOHp5=OqUXZbg_WKNQmNsTW3Bg5P4btJdX06CF=Wi2AA@mail.gmail.com> <d9b03ef6-9c8c-1eb2-7f74-014f9703475d@gmx.de> <CAJ_4DfQifbJJ7owfrgUUOqXimL-KQkb4-1f_Qp6+CMjhYC1bbg@mail.gmail.com> <CAFifEMJPZd9CGghi_MJ1Hrcq7TJNnkV6yH-EKtrrfaQmStS4Ug@mail.gmail.com> <b09ab672-f512-52bc-6c28-7df55919a846@gmx.de> <CAFifEM+TXtsxTt-NcH+hQomEAYZmMTW_kPxXvQB69eM4KgGf7g@mail.gmail.com> <d4d25ceb-09b5-72ff-6c36-7fdfc2796b15@gmx.de> <CAFifEMKff11nmJZgE1RGWT8qH6SKsO2tqWCF9vQsvF5=BMeQgg@mail.gmail.com> <45C10C32-DA87-4AE3-9082-DAAFD5D9C412@vcontractor.co.za> <CAHbrMsAE1ZezM5U_b2s3juc4OC0LJDOpyHfek7Pu2AaQcXpf8A@mail.gmail.com>
In-Reply-To: <CAHbrMsAE1ZezM5U_b2s3juc4OC0LJDOpyHfek7Pu2AaQcXpf8A@mail.gmail.com>
From: Kyle Rose <krose@krose.org>
Date: Mon, 29 Jul 2019 10:47:52 -0400
Message-ID: <CAJU8_nWP63pT08X4QkUmk6KT_U98LjiFvNaTNg5ZtVMG3AFiFg@mail.gmail.com>
To: Ben Schwartz <bemasc@google.com>
Cc: "Oliver, Wesley, Vodacom South Africa (External)" <Wesley.Oliver@vcontractor.co.za>, Bin Ni <nibin@quantil.com>, Julian Reschke <julian.reschke@gmx.de>, Ryan Hamilton <rch@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000af4f96058ed2fa2c"
Received-SPF: pass client-ip=2607:f8b0:4864:20::b2c; envelope-from=krose@krose.org; helo=mail-yb1-xb2c.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1hs6wr-0007SF-RJ eef32f9e0d61ebee2acf8e8de8d337bd
X-caa-id: e9127bebd6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Redirection to Other IP Addresses
Archived-At: <https://www.w3.org/mid/CAJU8_nWP63pT08X4QkUmk6KT_U98LjiFvNaTNg5ZtVMG3AFiFg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36859
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Mon, Jul 29, 2019 at 9:46 AM Ben Schwartz <bemasc@google.com> wrote:

> On Mon, Jul 29, 2019 at 3:40 AM Oliver, Wesley, Vodacom South Africa
> (External) <Wesley.Oliver@vcontractor.co.za> wrote:
>
>> Hi,
>>
>> I would like to suggest, that this not be a specific response code, like
>> a
>> 312 or 302. That it just be a response header, that gets checked by
>> Inteligent clients, would then always check for the new address and port
>> on which to contact the server,
>>
>
> You're in luck: this is precisely the Alt-Svc header (RFC 7838).  You can
> use this today!
>
> Not all clients currently implement full support for this header, but
> hopefully that will improve over time.
>

I think the issue OP is raising is that they want some deterministic
behavior from the client, dictated by the server. Alt-Svc doesn't do this:
it's advisory. As a result, it can be used as an optimization, but some
kind of load balancer for the original service is still required for
clients that do not react to Alt-Svc (should that population be large
enough), or when the target Alt-Svc is down. As long as that's within OP's
constraints, I agree Alt-Svc is precisely the right solution.