[dnsdist] about addPoolRule() performance
remi.gacogne+dnsdist at powerdns.com
Tue May 10 15:48:14 UTC 2016
On 05/10/2016 04:27 PM, Wang Jian wrote:
> The thing is, there can be huge performance difference too, if the
> domain set is large and hash table lookup is used. I look through code
> and think current implementation doesn't use hash table lookup. Am I
> correct? If so, I suggest adding hash table lookup.
Thank you for your suggestion. dnsdist is currently using a
SuffixMatchNode, which is roughly a tree of DNS labels. Along other nice
properties it allows sub-domain matching, which would not be easily
possible with a hash table.
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 455 bytes
Desc: OpenPGP digital signature
More information about the dnsdist