Mailing List Archive

Redirection based on location of client.
Dear all,

I've been wondering if there is a way to use LVS to redirect the requests
to the nearest real server based on the client's location (IP address? No.
of hops?).

We have recently finished setting up a load-balanced web site here in
Malaysia (with just 2 servers but expanding to 8 in the next couple of
months) and it's been getting a fair number of hits. There's also been
quite a few entries in the guestbook where one of the main
complaints/comments of the people who have visited the website is that
it's slow. So, one of the ideas is to find a co-lo provider in the US,
Europe, and anywhere else that might be useful (we've been hosting the
stuff in Malaysia) and still use the same VIP for the site.

Is this possible/reasonable?

TIA,

Yusseri.
Re: Redirection based on location of client. [ In reply to ]
For this type of application, a DNS-based solution would be appropriate.
Cisco Distributed Director does something of this sort. You give the
"cluster" one DNS Name. That DNS name resolves to the IP of each of your
locations. The cisco box acts as your DNS server, and when a client asks
for name-to-ip lookup, the box hands the client the IP of the server
closest to the client.

I don't know of anybody doing this type of thing on Linux, but it sure
does work well if you have an application that it will work for.

--
Michael Brown
Linux Systems Group
Dell Computer Corp


On Fri, 30 Mar 2001, Yusseri Yusoff wrote:

>
> Dear all,
>
> I've been wondering if there is a way to use LVS to redirect the requests
> to the nearest real server based on the client's location (IP address? No.
> of hops?).
>
> We have recently finished setting up a load-balanced web site here in
> Malaysia (with just 2 servers but expanding to 8 in the next couple of
> months) and it's been getting a fair number of hits. There's also been
> quite a few entries in the guestbook where one of the main
> complaints/comments of the people who have visited the website is that
> it's slow. So, one of the ideas is to find a co-lo provider in the US,
> Europe, and anywhere else that might be useful (we've been hosting the
> stuff in Malaysia) and still use the same VIP for the site.
>
> Is this possible/reasonable?
>
> TIA,
>
> Yusseri.
>
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
Re: Redirection based on location of client. [ In reply to ]
Please go to web site: supersparrow.sourceforge.net and there is you want.

Regards,
carl

-----原始邮件-----
发件人: Yusseri Yusoff [mailto:ymy@aldrich.com.my]
发送时间: 2001年3月30日 10:25
收件人: lvs-users@LinuxVirtualServer.org
主题: Redirection based on location of client.



Dear all,

I've been wondering if there is a way to use LVS to redirect the requests
to the nearest real server based on the client's location (IP address? No.
of hops?).

We have recently finished setting up a load-balanced web site here in
Malaysia (with just 2 servers but expanding to 8 in the next couple of
months) and it's been getting a fair number of hits. There's also been
quite a few entries in the guestbook where one of the main
complaints/comments of the people who have visited the website is that
it's slow. So, one of the ideas is to find a co-lo provider in the US,
Europe, and anywhere else that might be useful (we've been hosting the
stuff in Malaysia) and still use the same VIP for the site.

Is this possible/reasonable?

TIA,

Yusseri.



_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users