9 ms·
> for privacy, performance and security. I understand the privacy and security aspects. But I am wondering - how can DNS over HTTPS be more performant in the
by politelemon 9y ago
> for privacy, performance and security.
I understand the privacy and security aspects. But I am wondering - how can DNS over HTTPS be more performant in the case of curl commands? A browser could probably persist the connection to the resolver and issue several requests together, but with a single curl command surely there's the overhead of initiating the first DNS resolve, the HTTPS connection, the second DNS resolve. There must be some delay compared to regular DNS.
Side note - I just learned that performant is not a recognized word (https://english.stackexchange.com/questions/38945/what-is-wrong-with-the-word-performant https://english.stackexchange.com/questions/38945/what-is-wr...)
- CogitoCogito 9y ago> Side note - I just learned that performant is not a recognized word (https://english.stackexchange.com/questions/38945/what-is-wr... https://english.stackexchange.com/questions/38945/what-is-wr...) I don't personally use the word since there are many alternatives, but its use is now definitely widespread and consistently understood. There's really no argument against the fact that it has entered the English lexicon.
- metafunctor 9y agoCan anyone give examples of cases where “performant” would be better than “efficient”? To my mind, the difference is that “performant” delivers results quickly, whereas “efficient” uses little energy. A performant solution might be efficient, but not necessarily, and vice versa. Does anyone else share this understanding or am I living in a linguistic bubble? Not sure about Swedish (Daniel is Swedish), but in Finnish, we have the word “suorituskykyinen”, meaning “efficient” or “able to perform”. I can see how Finnish writers might want to use “performant” to replace this commonly used word. Perhaps there's a similar history for Swedish speakers? I sure have seen “performant” a lot in academic texts written by Finnish and Swedish speakers in the last 20 years.
- kodablah 9y ago"My mining algorithm, which uses a lot more CPU and memory, is more performant." The key being that performant is often associated w/ speed (i.e. higher performing) whereas efficient ambiguously can refer to many things you have improved on.
- metafunctor 9y agoYep, that's how I understand the word “performant” as well. A car that accelerates from 0-100 kph in under 3 seconds would be ”performant”. A car is “efficient” if it burns less than 4 liters of gasoline per 100 kilometers.
- vectorEQ 9y ago'performs more [efficiently|accuratley]' would be proper english (not that i speak it well.... :D). webster says: "performant" The word you've entered isn't in the dictionary. Click on a spelling suggestion below or try again using the search bar above. preformant performance performing performances performable preformants perforate conformant perform formant performed informant performer perforata performers performs preformat
- barrkel 9y agoThe algorithm doesn't perform more efficiently or accurately, though - it's less efficient (it uses more resources) and it should be the same accuracy (or we're comparing apples with oranges).
- vectorEQ 9y agohaha yah i know, it would perform terrible. imagine running a big dns server at ISP level, and having to perform 9 million tls handshakes a second. have fun with that lol. this was just an example of how to avoid the 'performant' word.
- seandavidfisher 9y ago
- userbinator 9y agoI don't use it either, and I agree with the poster on that stackexchange link about it sounding like manager/marketing-speak, but when I see it, it makes me pause for a second to think about what really means (perhaps that's the point) --- I had this exchange with a coworker not long ago: CW: ...and this way it'll be more performant too. Me: Performant? As in faster? CW: Yes. Me (to self): Then why didn't you just say it'll be faster? IMHO it obfuscates meaning and should be avoided; the surrounding discussion/vagueness about what it means (I don't think it means efficient, but only faster --- as in, a high-performance car) shows that too.
- molf 9y agoTo be fair, "faster" in the context of software development can also frequently refer to the time it takes to implement.
- pbhjpbhj 9y agoPerformant to me implies performing better against the relevant metrics. So faster, maybe, but perhaps smaller and more energy efficient too. If the context of the metrics is already understood then it seems quite a cromulent word.
- PakG1 9y agoWhat's cromulent mean? I looked it up at dictionary.com and couldn't find anything. Or are you making up more words to point out the irony? :)
- zimpenfish 9y agohttps://en.oxforddictionaries.com/definition/cromulent https://en.oxforddictionaries.com/definition/cromulent "Acceptable or adequate"
- timlyo 9y agohttp://www.dictionary.com/browse/cromulent http://www.dictionary.com/browse/cromulent
- karmakaze 9y agoGreat discussion. I've used the word without thinking twice. Now I'll choose between efficient, faster, or performant depending on context.
- coinerone 9y ago"Performant" is a word in German. It translates to exact what "perfomant" would mean in english if it were an english word. The funny thing is, google translate, translates the german word "performant" to the english word "performant". https://translate.google.com/?hl=de#de/en/per%C2%ADfor%C2%ADmant https://translate.google.com/?hl=de#de/en/per%C2%ADfor%C2%AD...
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- nijaru 9y agoIt is not actually translating anything since performant is not considered a real word in English, although I commonly see it used in the tech world.
- SEMW 9y ago> performant is not considered a real word in English, although I commonly see it used... This is close to being a contradiction in terms. The purpose of words is to communicate, and if a word is being successfully used to communicate -- which clearly it is -- what exactly does it mean to say that isn't "considered a real word"? Also, "Considered" by whom? The dictionary? Dictionaries are descriptivist -- they record usage, they don't prescribe it [0]. If it isn't in the dictionary yet, that's only because the usage hasn't been used widely and/or for long enough that it meets the inclusion criteria [1]. (As it happens, "performant" is at the stage where it is starting to pass those thresholds, and is now in the OED [2]) [0] http://englishplus.com/news/news1100.htm http://englishplus.com/news/news1100.htm [1] http://public.oed.com/about/frequently-asked-questions/#qualify http://public.oed.com/about/frequently-asked-questions/#qual... [2] https://en.oxforddictionaries.com/definition/performant https://en.oxforddictionaries.com/definition/performant
- jfk13 9y ago
- yeukhon 9y agocURL supports it. See https://ec.haxx.se/usingcurl-persist.html https://ec.haxx.se/usingcurl-persist.html If your question is how to reuse the connection pool for, say, 1000 DNS queries from one machine, curl already uses a connection pool. Next, to use fewer TCP connections and get faster response, my first proposal is HTTP/2 which supports TCP multiplexing such that multiple requests can be issued over a single TCP connection. Every response is return asynchronously, we can achieve nonblocking. cURL also supports HTTP/2. Speaking of word: it seems author of curl project prefers “curl” over “cURL”? Worth asking.
- sapphire_tomb 9y agoFrom what I understand the "cURL" format of the word is popular mostly with users of the PHP bindings. "curl" is what the project uses, but I'm not sure they really care what other people refer to it as :)
- sohkamyung 9y agoI think it depends on whether you are referring to the project or the executable [1]: "cURL is the name of the project." [1] https://curl.haxx.se/docs/faq.html#What_is_cURL https://curl.haxx.se/docs/faq.html#What_is_cURL
- pilif 9y ago> Every response is return asynchronously, we can achieve nonblocking. same goes for UDP which DNS runs over normally. Like the original commenter, I fail to see how stacking DNS over HTTP over TLS over TCP over IP is going to be faster than running DNS over UDP over IP. Also, you still need to resolve the address of your DNS-over-HTTP server, which you'd probably still do over traditional DNS-over-UDP. This feels like doing nothing but adding complexity for zero gain.
- IshKebab 9y agoZero gain except going from easy eavesdropping, blocking, censoring, etc. to effectively unblockable, private and secure? Ok. Also you would probably need to put in the IP of the DNS server manually, exactly like you have to with DNS now.
- tscs37 9y agoIdeally the browser and curl only use a local resolver, on your machine or router, which in turn can use a steadily alive or even multiple alive connections to the resolver.
- geofft 9y agoIf your ISP is intercepting DNS requests and sending them to a slow or broken server, DNS over HTTPS ensures this won't happen. (Yes, they could block the traffic entirely, or slow it down for fun, but they can no longer intercept and redirect it.)
- nly 9y agoIt has zero performance advantages If you had to go the TLS route and wanted better perf, then it'd make more sense to build a new, dead simple, framing protocol that actually specified working pipelining and eliminated HOL blocking by allowing out-of-order responses. They're just using HTTP because HTTP(S) defaults to port 443 and it'll go through more firewalls, and I guess their thinking here is to (just add more complexity) and move to HTTP/2
- Franciscouzo 9y agoIt is a recognized word, at least by the Cambridge [0], Oxford [1], and Wiktionary [2] dictionaries. [0] https://dictionary.cambridge.org/dictionary/english/performant https://dictionary.cambridge.org/dictionary/english/performa... [1] https://en.oxforddictionaries.com/definition/performant https://en.oxforddictionaries.com/definition/performant [2] https://en.wiktionary.org/wiki/performant https://en.wiktionary.org/wiki/performant
- djrobstep 9y agoIf you recognize it, it's a recognized word. Dictionaries are descriptive, not prescriptive.