[dnsdist] about addPoolRule() performance
remi.gacogne+dnsdist at powerdns.com
Tue May 10 16:33:10 UTC 2016
On 05/10/2016 06:22 PM, Wang Jian wrote:
> I think hash table can be used.
I would suggest you take a look at how SuffixMatchNode works (in
pdns/dnsname.hh) and think about the complexity of the different cases.
If you are still convinced a hash-table based solution would be better,
perhaps some actual benchmarks would help.
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