4 ms·
I like your octocat-gopher logo, very cool. Looks like an interesting project also. How does it compare to the Cloudflare dns server in Go? (I guess being open
by kanwisher 9y ago
I like your octocat-gopher logo, very cool. Looks like an interesting project also. How does it compare to the Cloudflare dns server in Go? (I guess being open source is the most important). They did some interesting optimizations of TLS with assembly
- tenta 9y agothanks! We appreciate it. Yeah mainly not open source and AFAIK, it's authoritative only.
- dullgiulio 9y agoAFAIK they both use the same miekg/dns library. I am not sure the assembly optimizations have been merged into the library itself.
- iangudger 9y agoIf you want something faster than github.com/miekg/dns, there is golang.org/x/net/dns. I am the author, but I promise it is a lot faster. It is about an order of magnitude faster in my benchmarks.
- dullgiulio 9y agoThat's very interesting, thanks, I will try this!
- lmb 9y agoWhere does that order of magnitude come from? Certainly sounds interesting.
- lmb 9y agoI'm working on RRDNS, but am a new member of the team. The big difference is that RRDNS contains all of our business logic to enable things like Orange clouding, and other DNS based features. Those depend a lot on how our infrastructure works, and are not useful to others. It's also a much older codebase (it probably started before 1.4?) and therefore goes out of its way to avoid putting pressure on the GC and had other funny bits in it. Finally, RRDNS has seen a lot of abuse and by now is pretty well hardened :)