[dnsdist] about addPoolRule() performance

Remi Gacogne remi.gacogne+dnsdist at powerdns.com
Tue May 10 15:48:14 UTC 2016


Hi,

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.

-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160510/db0b083c/attachment.sig>


More information about the dnsdist mailing list