Re: Redirection to Other IP Addresses

Thanks Julian and Ryan for bringing alt-svc to my attention.
It seems to be too complicated for my purpose but might work.

One question I have is: what should be the server's behavior if it wants to
force the client to use the alternative service immediately?
For example, from the request URI the server knows that the client is
requesting a huge file or video.
It does not want serve it at all and want the client to issue the same
request again to another server.
Which status code should the server return? 300?

Thanks.

Bin

On Sat, Jul 27, 2019 at 2:32 PM Ryan Hamilton <rch@google.com> wrote:

> Agreed. Alt-Svc seems like a perfect fit for this case.
>
> On Fri, Jul 26, 2019 at 2:05 AM Julian Reschke <julian.reschke@gmx.de>
> wrote:
>
>> On 24.07.2019 01:32, Bin Ni wrote:
>> > Hi All,
>> >
>> > We trying to propose an addition to the HTTP protocol to support
>> > redirecting client to other IP addresses.
>> >
>> > The background is many website owners and CDN providers want the web or
>> > proxy servers to be able to participate in load balancing. For example,
>> > when the server is overloaded, redirect the request to some other
>> > servers; or based on the geo information of client IP address, send the
>> > client to a server that can provide better performance. Compare to the
>> > DNS-based load balancing, this method is more real time and more
>> > accurate. It can also take the URL, headers or other components in the
>> > HTTP request into consideration.
>> >
>> > What they can use today is the 30X redirection, which has at least the
>> > following limitations:
>> > 1. breaks the cookie, if you 30x redirect to another hostname or IP
>> address.
>> > 2. breaks https if you redirect to another IP address.
>> >
>> > We need another way of telling the client/browser to only change the IP
>> > address but keep everything else the same.
>> >
>> > We put the proposal in a google doc at:
>> >
>> https://docs.google.com/document/d/1gtF6Nq3iPe44515BfsU18dAxfCYOvQaekiezK8FEHu0/edit?usp=sharing
>> > You can post your questions and comment in the document or reply to this
>> > email.
>> > If this is not the correct way to submit a proposal, someone please
>> > point me to the right direction.
>> > Thanks!
>> > --
>> > Bin Ni
>> > www.quantil.com <http://www.quantil.com>
>>
>> Did you consider Alt-Svc? (See
>> <https://greenbytes.de/tech/webdav/rfc7838.html>)
>>
>> Best regards, Jullian
>>
>>
>>

-- 

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/>

Received on Saturday, 27 July 2019 23:34:01 UTC