]> git.ipfire.org Git - thirdparty/pdns.git/commit
ixfrdist: Speedup and optimize memory usage when writing answers
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 29 Aug 2018 12:29:55 +0000 (14:29 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 29 Aug 2018 12:46:03 +0000 (14:46 +0200)
commitba779b1202755305cf9b97ee240d74279ef9b604
tree79d3952ce4a84d91d08e1bc6c2b3210ac30a4e16
parent94744c20d3553ff4df3e54398d67e4a07fe03f3a
ixfrdist: Speedup and optimize memory usage when writing answers

We now group as many records as possible inside one DNS message,
and send a message as soon as it is ready, so we can reduce the
memory usage by not keeping all outgoing messages in memory,
and send a lower number of messages.
pdns/ixfrdist.cc