3 ms·
That's not true. It all depends on the implementation... Also what are you talking about? If the connection is closed, how would it be used? Connections shou
by ryanthedev 7y ago
That's not true. It all depends on the implementation...
Also what are you talking about? If the connection is closed, how would it be used?
Connections should only be closed due to? Inactivity. If a connection is closed, don't you think you would probably want to do another DNS request?
Also if your doing proper layer 4 load balancing using BGP, DNS is a moot point...
Magic...
- zamadatix 7y ago> Connections should only be closed due to? Inactivity. Or if the user closes the browser of if the server/proxy restarts. But yes, mostly inactivity on the order of a couple of minutes. > If a connection is closed, don't you think you would probably want to do another DNS request? That's the whole point of the DNS TTL, to say how long to go before doing another lookup rather than doing it each time you reconnect. > Also if your doing proper layer 4 load balancing using BGP, DNS is a moot point... BGP load balancing operates on layer 3, and is irrelevant as you still need to DNS lookup an anycast address. EDNS client subnet is better anyways.
- ryanthedev 7y agoAn anycast address doesn't change. I mean come on. And it actually operates on layer 4. It uses layer 4 to actually work? I hope you didn't pay for your education.
- zamadatix 7y agoAnycast addresses change all the time. Ask Google, Microsoft, Amazon, Akamai, Cloudlfare and so on if you don't believe me. About the only anycast IPs that don't change are public DNS resolvers but that's also true of unicast resolvers as well. By that logic BGP is a layer 7 load balancer since it has an application layer. BGP only exchanges layer 3 reachability information to update route tables therefore you can only load balance layer 3 with it. Personal attacks and other things in your comments are against the HN guidelines. The goal is to talk about DNS/TTLs and their impact on performance not insult each other. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html