5 ms·
Why do people find DNS so difficult? It's just cache invalidation and naming things.
by dim13 3y ago
Why do people find DNS so difficult? It's just cache invalidation and naming things.
- peterhadlaw 3y agoI think you forgot one more thing
- Cthulhu_ 3y agooff-by-one errors?
- gnfargbl 3y agoHe said two more things.
- chrisweekly 3y agoExactly the point.
- deleted 3y ago[deleted]
- silisili 3y agoI wrote a long thought out reply about the absurdity of this statement, only to realize its purpose and facepalm myself. Good one!
- deleted 3y ago[deleted]
- himinlomax 3y agoWhat cache invalidation? There's just cache expiration, that's occasionally not respecting the specs.
- dietr1ch 3y agoPsss. They are not really talking about DNS, but referencing one of the many descendants of this quote, > There are only two hard things in Computer Science: cache invalidation and naming things. --Phil Karlton Random reference, https://martinfowler.com/bliki/TwoHardThings.html https://martinfowler.com/bliki/TwoHardThings.html
- vidarh 3y agoBut it is unusually apt in the case of DNS, given it is about naming things and caching is one of the major things that keeps biting people with DNS.
- ilyt 3y agoFrom what I've noticed 99% of "things biting people in DNS" is the way windows domain does it, at least the sentiment for "it's always DNS" tend to be far stronger on windows side of things
- vidarh 3y agoI've never had to deal with the windows side of things, thankfully. All of my experience with DNS caching issues is with other systems.
- HPsquared 3y agoThat must be why DNS is hard, it's completely made up of the difficult stuff.
- infogulch 3y agoYeah there's no need for invalidation, just observe the ttl to the letter. Oh hang on let me take this call.. yes I wrote the dns sever, ah so it runs out of memory, uh huh, wait how many unique domai-, mm, a 2000 second TTL is pretty low actu-, wait years?!, no you're right stability is important, no I can't fix the whole world, ok, so like an LRU, yeah that would be a start at least, ok bye. Wait a second.. THERE YOU ARE! You little rascal, you were trying to hide from me weren't you. You're a good little problem, yes you are, you're going to torture me later aren't you?, yes of course you will, it's a good thing you're so cute huh. Good now run along and go play with the other nightmares. Look at em go, wow they grow up in complexity so fast. Anyways what we were talking about? Oh yeah "just" expiring the cache.
- deleted 3y ago[deleted]
- yieldcrv 3y ago[flagged]
- mrzool 3y agowhoosh
- ObscureScience 3y agoI guess it's also distributed systems, but that's about it.
- egberts1 3y agoand three different kinds of daemon control interfaces.
- perlgeek 3y agoThere are things like delegation, glue records and the like that do go a bit beyond those two things :-)
- tmountain 3y agoAnd… a little async for good measure!
- 0xDEF 3y agoI have noticed it's mostly FAANG developers which leads me to believe that it's not "public DNS" that is giving them headache but DNS based service naming and discovery in the large-scale distributed systems at FAANG companies.
- paulddraper 3y agoHoly hell you're right
- hiepph 3y agoNice sarcastic comment. Remind me of the "Duning-Kruger" effect. [^1] [^1] https://www.wikiwand.com/en/Dunning%E2%80%93Kruger_effect https://www.wikiwand.com/en/Dunning%E2%80%93Kruger_effect
- pdevr 3y agoThere are only three hard things in Computer Science: (0) cache invalidation (3) asynchronous callbacks (2) off by one errors. (Adapted from here: https://news.ycombinator.com/item?id=21380936 https://news.ycombinator.com/item?id=21380936 and from the original https://www.karlton.org/2017/12/naming-things-hard/ https://www.karlton.org/2017/12/naming-things-hard/ )