Re: Redirection to Other IP Addresses

Bin Ni <nibin@quantil.com> Thu, 01 August 2019 08:53 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 3776B1200C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 1 Aug 2019 01:53:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.698
X-Spam-Level:
X-Spam-Status: No, score=-0.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GB_VISITOURSITE=2, HEADER_FROM_DIFFERENT_DOMAINS=0.201, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=quantil-com.20150623.gappssmtp.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 9f0g6WybN_RY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 1 Aug 2019 01:53:18 -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 3133A1200B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 1 Aug 2019 01:53:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ht6nH-000872-8n for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Aug 2019 08:50:39 +0000
Resent-Date: Thu, 01 Aug 2019 08:50:39 +0000
Resent-Message-Id: <E1ht6nH-000872-8n@frink.w3.org>
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 <nibin@quantil.com>) id 1ht6nE-00086D-F1 for ietf-http-wg@listhub.w3.org; Thu, 01 Aug 2019 08:50:36 +0000
Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <nibin@quantil.com>) id 1ht6nA-000441-MJ for ietf-http-wg@w3.org; Thu, 01 Aug 2019 08:50:36 +0000
Received: by mail-ua1-x933.google.com with SMTP id j8so28080167uan.6 for <ietf-http-wg@w3.org>; Thu, 01 Aug 2019 01:50:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantil-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FjpeCuyIIr+yv/bCj4yuZZRSV650No2v9QX/lzHcR+A=; b=A/tyQQHwsQEkDO4Vmh+6WxIaLjvA3FtGZNkd2CFY5b40lKiVM3x/XNu+8kxiKAizZH eBuMdkubwzPIIia1lY30NsD7ngSBVWI3cVaos3u1AZz8oZdpUe9nM1WJbRHaY1p1Xf1E ilUA+vZGn8uybhVy4UIi3qkqnrtwm+Oe1jW/Q1Ps4IVk2X/7FJn9u752BaEryNmxivBs eCOb/RA/FolGYuUzJ9//wi2JO+ox9uAw5RG/kiLc50IyJ5yriynELP8rDaS6ML73Sb3b LriZkSsU3tWASzErRBb6oGk6UhNccilEhERASUg8CnC+X8ib8hGU2njbP7XQrRfyhYzp irSA==
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=FjpeCuyIIr+yv/bCj4yuZZRSV650No2v9QX/lzHcR+A=; b=LdhpbPCSYaN/bhngUcO1WOlX8BOOMVyHk4ZIrhDjOLQ3IBwAora612mzffYVOd5imI arQ6H4DCORUnSVhrthSxxBG+8luOxoJGvU/m+S2WGN4GP4a1OA/jn1q69A4WDb8j/Kxr R+U73lBxacr1jBB31M1Ig+L6vGUJZwQOWMV2VaAgLzWAEHjKCeJc3NoQ4wV5D+/lEKzX us/US6GTYP2sI10a4hARtl9iJIo+4/VTqsPWk9MYcSBNqRacNr+z6x1xOIVJoH37+exv e4VsBx4sl5D2FESVqKQtq3OT5CCAsPD5occfk0D/5yB6W6NHtKB44fpWopv+IV+UF8IW VVPg==
X-Gm-Message-State: APjAAAVJfhcH32pscv2rlDwD6+GOYYZlwRaUgcPZy2S4n9sA+PCI4WO9 2tiWBcznVyLEyP5lxekx780MuSkJe+lMvR9uX4pf1A==
X-Google-Smtp-Source: APXvYqzA/eD9tUBsaHJ1UCqsDmaR6sutqOmZiqSUa3+HNg+j8DLvUvoguuQXxxWnLYfWAaSnVPQ26Z92SmfpcIkh2mU=
X-Received: by 2002:ab0:168a:: with SMTP id e10mr33545527uaf.87.1564649409897; Thu, 01 Aug 2019 01:50:09 -0700 (PDT)
MIME-Version: 1.0
References: <CAFifEMLOHp5=OqUXZbg_WKNQmNsTW3Bg5P4btJdX06CF=Wi2AA@mail.gmail.com> <45C10C32-DA87-4AE3-9082-DAAFD5D9C412@vcontractor.co.za> <CAHbrMsAE1ZezM5U_b2s3juc4OC0LJDOpyHfek7Pu2AaQcXpf8A@mail.gmail.com> <CAJU8_nWP63pT08X4QkUmk6KT_U98LjiFvNaTNg5ZtVMG3AFiFg@mail.gmail.com> <CAFifEMLnSB5SYb_q0toTE3Xy1i56=14ki=__91Phc76HHL+ZhQ@mail.gmail.com> <f05b5157-f068-1e03-8422-36d0425a32a5@treenet.co.nz> <CAFifEMLQXUSHKOjKN9JR87ht1UUvf-1AEWKNmuKeOqKyzjT28Q@mail.gmail.com> <CAJEGKNtWvXyrFLU0KW-rqN1qd-PLOqobjx1o6kRcH27_O9Ri7Q@mail.gmail.com> <CAFifEMKhjU=EmMj6yyVN5D1aSfCVi9HAWgE-Ebzu8NscKQpv_w@mail.gmail.com> <CAJEGKNvoKijzJsTOSE0w08wst=zxoTa95Jx8xVfRWmCWJTJ=4g@mail.gmail.com> <CAFifEMLrWwBoPDQZiHvp65zwS+0CEka1sSoLMYQo6ydYit3aNQ@mail.gmail.com> <CAAXAoJUdJP-WUa8sxt_3L+=09wQb_UUOGq0517ibzYrVoU8aOA@mail.gmail.com> <CAFifEMLvsHA9eOZS6MRNCvVa_c+jEOoPsmXbMrbC09aY=0-MZQ@mail.gmail.com> <CAAXAoJUvdPaFU-xjaVTC8J9=bLe6QfyEnsyHLM1EMUKN1HNtTg@mail.gmail.com> <alpine.DEB.2.20.1908010950240.24744@tvnag.unkk.fr>
In-Reply-To: <alpine.DEB.2.20.1908010950240.24744@tvnag.unkk.fr>
From: Bin Ni <nibin@quantil.com>
Date: Thu, 1 Aug 2019 01:49:58 -0700
Message-ID: <CAFifEML6zwvKZJwO0P0L_bvOq8ow1U1j4UkfOTJf0CDRjL71ig@mail.gmail.com>
To: Daniel Stenberg <daniel@haxx.se>
Cc: Jack Firth <jackhfirth@gmail.com>, Chris Lemmons <alficles@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000468abd058f0a54f3"
Received-SPF: pass client-ip=2607:f8b0:4864:20::933; envelope-from=nibin@quantil.com; helo=mail-ua1-x933.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=0.477, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1ht6nA-000441-MJ 0fadb5792d360d20620797478c25a8aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Redirection to Other IP Addresses
Archived-At: <https://www.w3.org/mid/CAFifEML6zwvKZJwO0P0L_bvOq8ow1U1j4UkfOTJf0CDRjL71ig@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36913
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>

Let me try to explain my proposal with some human language :)
1. the "Alt-Svc" behavior:
Client: Hi Server-1.1.1.1, can you send me the movie XXX?
Server-1.1.1.1: Here is the movie, but next time, you'd better ask server
2.2.2.2 for this movie.
(It then took 2 hours to deliver the movie)
2. my proposed behavior:
Client: Hi Server-1.1.1.1, can you send me the movie XXX?
Server-1.1.1.1: Sorry, I can't give you the movie, you need to ask server
2.2.2.2 for this movie.
Client: Hi Server-2.2.2.2, can you send me the movie XXX?
Server-2.2.2.2: Here is the movie.
(It then took 0.5 hours to deliver the movie, because server-2.2.2.2 is
closer to the client, or less loaded)

Bin

On Thu, Aug 1, 2019 at 12:56 AM Daniel Stenberg <daniel@haxx.se>; wrote:

> On Thu, 1 Aug 2019, Jack Firth wrote:
>
> > Yes you could make a status code, but I don't follow why you need a new
> > status code instead of reusing a generic 300 response with body
> explaining
> > they need to follow Alt-Svc. A special status code requires clients to
> > implement new behavior, and if they're doing that already can't they just
> > implement Alt-Svc support instead?
>
> No, because Bin wants to (as I understand it) force the next request that
> uses
> that origin to *forcibly* use the new alternative IP address. I'm pretty
> sure
> most alt-svc implementations will not do that but will rather reuse
> existing
> connections (since the spec allows that and it is much faster) and then
> switch
> to the alternative only once a connection to that has been setup...
>
> --
>
>   / daniel.haxx.se
>


-- 

Bin Ni
VP of Engineering
[image: Quantil]

Connecting users with content...it's that simple.

Office: +1-888-847-9851 <(888)%20847-9851>

[image: Tweeter] <https://twitter.com/Team_Quantil>  [image: Google Plus]
<https://plus.google.com/+Quantil_team/>  [image: Linked In]
<https://www.linkedin.com/company/quantil>

The information contained in this email may be confidential and/or legally
privileged. It has been sent for the sole use of the intended recipient(s).
If the reader of this message is not an intended recipient, you are hereby
notified that any unauthorized review, use, disclosure, dissemination,
distribution, or copying of this communication, or any of its contents, is
strictly prohibited. If you have received this communication in error,
please reply to the sender and destroy all copies of the message. To
contact us directly, send to QUANTIL, INC. at 1919 S Bascom Ave #600,
Campbell, CA 95008
<https://maps.google.com/?q=1919+S+Bascom+Ave+%23600,+Campbell,+CA+95008&entry=gmail&source=g>;,
or visit our website at www.quantil.com. <https://www.quantil.com/>