]> granicus.if.org Git - pdns/commit
rec: Use a separate protobuf exporter thread per worker thread
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 4 Apr 2018 14:49:03 +0000 (16:49 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 11 Apr 2018 11:53:45 +0000 (13:53 +0200)
commit63341e8d89ecb90faf3afd7bbb9286ac8249e1b3
tree2cd647ceb9a1a427fa02b458373800c63c46879f
parent5e2fe5ac8557ddfe3a0e10c8317019d17b47398a
rec: Use a separate protobuf exporter thread per worker thread

Use a dedicated protobuf queue for each worker thread, instead of
sharing a single one for all worker threads, leading to some
contention under heavy load.
pdns/pdns_recursor.cc
pdns/rec-lua-conf.cc
pdns/rec-lua-conf.hh
pdns/remote_logger.cc
pdns/remote_logger.hh
pdns/syncres.cc
pdns/syncres.hh