[dnsdist] Which metric is more important, queries per second or outstanding queries?
Remi Gacogne
remi.gacogne at powerdns.com
Tue Oct 25 07:10:47 UTC 2016
Hi Miguel,
On 10/25/2016 01:16 AM, Miguel Miranda wrote:
> i'm using dnsdist to balance between an unbound and a
> pdns-recursor servers, dnsdist is sending a lot more queries to
> pdns-recursor but looking at metronome statistics i see similar
> outstanding queries, so this means both instances are working fine or
> the lower qps sent to unbound means i have to look at it to improve its
> performance?
If you haven't changed the load-balancing policy, the default
"leastOutstanding" one will send queries to the server with the lowest
number of outstanding queries (queries sent to a server and for which we
haven't received a response or timed out yet), or the lowest latency in
case of a tie. Therefore it makes sense to have roughly the same number
of outstanding queries for both servers, and if pdns-recursor has a
higher QPS number it means it is responding to queries faster hence
having the least outstanding queries or the lowest latency most of the time.
> Also, im using the excelent netdata dashboard and i want ot graph some
> pdns metrics, it should be qps or outstanding or both?
> Regards
Well, both are useful, so it depends on what information you want to
have :)
Regards,
--
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/20161025/80bfdbbd/attachment.sig>
More information about the dnsdist
mailing list