PowerDNS / pdns

PowerDNS Authoritative, PowerDNS Recursor, dnsdist
https://www.powerdns.com/
GNU General Public License v2.0
3.63k stars 904 forks source link

Live introspection support to find e.g. performance problems #2041

Open darix opened 9 years ago

darix commented 9 years ago

In "Building a low-latency WAF inside NGINX using Lua" John Graham-Cumming talks about how cloudflare reimplemented mod_security in lua to build a web application firewall with nginx for their customers. A textual summary of this can be found here.

The really interesting part is when he talks about the instrumentation they use to find performance problems in their nginx based services. it seems they added systemtap support to nginx for this. This allows them to track performance problems in the C and the lua parts of the services. broken down to proper functions. Allow them to generate flame graphs and other statistics from a live instance.

Might be something that would help powerdns too.

Habbie commented 7 years ago

Unrelated but related: dnsdist and recursor have protobuf logging now which provides -some- per query introspection.