logoalt Hacker News

lbriner • today at 12:11 PM • 1 reply • view on HN

> DNS is, almost by design, an eventually consistent system.

I agree with this. Offering instant updates creates a large performance benchmark, especially if you experience massive growth. Unless this is mitigated with TTL to some extent? I would personally be looking at how to reduce the database load for misbehaving clients e.g. 5 second cache on all queries or allowing a customer to choose a "tier" where they won't need fast instant updates. If they choose e.g. 5 minutes TTL, you can cache these extensively, even just as disk files rather than RAM.


Replies

misker1 • today at 12:55 PM

I agree with this too and to be really honest we are still tweaking all the caches between DNS Firewall our S2 DNS server and the CNAMEs we hand out. The instant part was more for new basins being created.