New blog post: Stop using ridiculously low DNS TTLs, now https://00f.net/2019/11/03/stop-using-low-dns-ttls/ …
-
-
Replying to @jedisct1
You can’t just lob “The urban legend that DNS-based load balancing depends on TTLs (it doesn’t)“ without an explanation! If I have an endpoint go away I want people to stop using it quickly. (Or are you referring to the case where all the endpoints are up?)
1 reply 0 retweets 1 like -
DNS-based load balancing relies on multi-value DNS records. If an endpoint fails the client can try the next value in the record without having to do another query. As long as the clients are quick at doing this, having dead endpoints in the record is not much of a problem.
1 reply 0 retweets 7 likes -
It increases the time before a replacement can receive traffic though.
1 reply 0 retweets 1 like -
The myth being debunked is that DNS-based load balancing relies on TTLs to spread traffic across multiple backends. It doesn't: it uses multi-value DNS records for that. DNS TTL is required to update the backend list, but long TTLs don't stop the load balancing from working
4 replies 0 retweets 5 likes -
oh! i see. Like, people think a client will be on a single backend for a full TTL.
1 reply 0 retweets 1 like
Even though this hasn’t been the case since… Netscape Navigator?
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.