Discussion about this post

User's avatar
Josh's avatar

Load balancing via DNS is entirely dependent on the behavior of caching DNS resolvers. Clients are beholden to how answers are sorted and it’s rarely fair. Even with a zero second TTL, the TTL of answers is often ignored. The situation is even worse with a TTL, as the answers are rarely re-resolved after the expiration. The JVM, for example, is notorious for defaulting to ignoring TTL entirely ruining round-robin load abounding via DNS. That’s not to say that it can’t be defective but its limitations should be well understood.

Roshan Dash's avatar

brilliant. So what should i use to ensure my end user gets the nearest edge location irrespective of the load ?

7 more comments...

No posts

Ready for more?