New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exporter impact on my dns bind performance #40
Comments
Unfortunately we at SoundCloud have experienced the same, even in newer versions and the API v3. Pulling statistics impacts the latency of client requests, presumably due to locking. We've since replaced bind with CoreDNS at our edges to improve the long-tail latency. |
Out of curiosity, do you think the JSON stats endpoint supported by BIND 9.10+ has any less impact than the XML endpoint? |
Has any of the newer upstream bind releases improved this situation? |
I've been doing a few tests on bind 9.11.5. It seems like the But the impact on the server is pretty big, the scrape time goes up by ~800ms.
The JSON output does seem a little faster in some of my local curl tests, it might be worth implementing support for it to compare against the XML format. |
hi Using JSON, you can avoid this problem. |
Refs #82 |
Closing this in favor of #82. |
this is my environment:
bind version: 9.10.7
bind_exporter: version 0.2.0-dev (branch: master, revision: fdbe49f)
go version: go1.9.4
pull_interval: 1m
test via go program :
startDomain := time.Now()
_, err := net.LookupHost("test.com")
elapsed := time.Since(startDomain)
in every same interval time ,i find client query is very slow than other time ,query time about is 100ms , and this time is monitor pull data;
The text was updated successfully, but these errors were encountered: