Live data from Hacker News

Ask HN: Why does news.Y Combinator.com use a DNS TTL of 1s?

news.ycombinator.com

1–5 of 5 posts

Ask HN: Why does news.Y Combinator.com use a DNS TTL of 1s?

#1
This result in every page load making a DNS request.

This is a questionable technical choice, especially considering HN's status as the SaaS mecca. So it begs the question: Why?

If the goal is to be able to rapidly switch to cloudflare when under attack then surely a TTL of 600 or 60 would be sufficient whilst being more respectful of your visitors?

Re: Ask HN: Why does news.Y Combinator.com use a DNS TTL of 1s?

#2
For fast failover to the backup server. The lack of DNS caching is immaterial, lookups are cheap, network and CPU is cheap (wrt serving DNS).

It’s not a questionable technical choice (imho) based on the use case. Simplicity is the ultimate sophistication.