Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13032

Re: Toward faster international server selection using clever DNS.

From Joshua Cranmer <Pidgeot18@verizon.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Toward faster international server selection using clever DNS.
Date 2012-03-17 09:08 -0500
Organization A noiseless patient Spider
Message-ID <jk25t9$edm$1@dont-email.me> (permalink)
References <4cp8m79d7p7mu5dkoikgmnb5obtgiqrldd@4ax.com>

Show all headers | View raw


On 3/17/2012 5:36 AM, Roedy Green wrote:
> When you type google.com you get sent to google.ca if you live in
> Canada.  I presume this works by your request going to google.com in
> the USA, where it then figures out you are from Canada and sends back
> a redirect,  then you resend your request to google.ca a server in
> Canada.  Is that correct?

No. Most servers probably do the global domain name switching via a 
vhost-based similar on their webservers; they otherwise go to the same 
computer(s). The point of server selection is to do appropriate 
regionalization based on the user's preferences, which often has nothing 
to do with the physical location of a user.


> What should happen is the DNS routers in Canada should direct
> google.global requests to google.ca. and in the USA to google.com.
> You should be able to bypass the country server selector with a
> specific google.ca request.

Note that people already use DNS to point you to the closest physical 
servers you have access to, along with load balancing tricks. Basically, 
the problem you are trying to solve is already more or less solved.

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Toward faster international server selection using clever DNS. Roedy Green <see_website@mindprod.com.invalid> - 2012-03-17 03:36 -0700
  Re: Toward faster international server selection using clever DNS. Jeff Higgins <jeff@invalid.invalid> - 2012-03-17 08:17 -0400
  Re: Toward faster international server selection using clever DNS. Roedy Green <see_website@mindprod.com.invalid> - 2012-03-17 05:45 -0700
  Re: Toward faster international server selection using clever DNS. Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-03-17 09:08 -0500
    Re: Toward faster international server selection using clever DNS. Roedy Green <see_website@mindprod.com.invalid> - 2012-03-18 19:46 -0700
      Re: Toward faster international server selection using clever DNS. Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-03-19 22:23 -0500
      Re: Toward faster international server selection using clever DNS. RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2012-03-27 14:51 +0100

csiph-web