]> granicus.if.org Git - pdns/commit
rec: Use a separate, non-blocking pipe to distribute queries
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 3 May 2018 11:17:50 +0000 (12:17 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 3 May 2018 11:17:50 +0000 (12:17 +0100)
commitcf8cda180674c58d7a56b528d379aceaf9641746
tree6cb638fbf354088c9ca30a002d3da4f192b93024
parent6d206e36ea68f18f5e326e9072cdb6443c4f7b8e
rec: Use a separate, non-blocking pipe to distribute queries

This allows us to drop queries when a pipe goes full, thus still
distributing queries to other threads instead of blocking. It also
adds a new metric to keep track of queries dropped because the pipe
was full.
pdns/pdns_recursor.cc
pdns/rec-snmp.cc
pdns/rec_channel_rec.cc
pdns/recursordist/RECURSOR-MIB.txt
pdns/recursordist/docs/metrics.rst
pdns/syncres.hh