[dnsdist] about addPoolRule() performance

Remi Gacogne 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.

-- 
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/0c27ced7/attachment.sig>


More information about the dnsdist mailing list