Why DNS-based Global Server Load Balancing does not work [2004]
tenereillo.com
tenereillo.com
Or have I misunderstood?
(Post should probably have had the date listed; just realized this article is 7 years old. That doesn't make it wrong or bad, mind you...)
For Google -- If you use OpenDNS, you will always go to the most appropriate Google datacenter to you (not OpenDNS).
OpenDNS is a broken concept.
All OpenDNS did was start offering the same thing ISPs already did as an external service.
http://devcentral.f5.com/weblogs/macvittie/archive/2011/03/2...
http://dev.robertmao.com/2007/06/30/global-dns-load-balancin... (towards the end, and yes, the grammar is bad)
http://blogs.sun.com/davew/entry/thoughts_on_global_server_l...
Another "hack" to solve the caching problem would be to have multiple random lookup records (say server-$random.hostname.com) all result in multiple lookups that cannot be cached? The tradeoff here is latency vs availability.
As mentioned in the article, triangulation and backup redirection would work as long as "Site A" can be up serving requests labeled (1).
http://www.nanog.org/meetings/nanog37/presentations/matt.lev...
No other browser does. All other browsers rely on the system's stub resolver which means you can't even open a bug for them, because the bug would require you to speak DNS first.
That said, can you control which host the browser will try first? I.e. can I have 1.1.1.1 as my main host and trust that all clients will connect to that as long as it's up, and only connecting to my backup 2.2.2.2 when 1.1.1.1 doesn't respond?
>but returning multiple A records diminishes any possibility of deterministic site selection.
This is exact problem we (Cedexis) solve.
Assume your site is www.website.com, in general points to an A record or a CNAME to a datacenter/ cloud/ CDN.
We add an intermediate hostname, low TTL (20 seconds), global anycast network, which can be scripted (write your load-balancing logic in php) to handout a CNAME (one of many) based on performance (RTT), load, cost, anything else you can think of, etc.
Re.: AWS's recent outage, assuming you are running your apps in multiple zones/ regions/ clouds, we would have noticed the latency and automatically routed away to a different zone/ region/ cloud.
We collect hundreds of millions of performance measurements daily: http://gigaom.com/cloud/heres-what-amazon-outage-looked-like...
Drop an email and I am happy to explain more and setup folks from HN with a free account: prakash at cedexis.com