aboutsummaryrefslogtreecommitdiff
path: root/plugin/forward/README.md
diff options
context:
space:
mode:
authorGravatar Francois Tur <ftur@infoblox.com> 2018-06-15 02:37:22 -0400
committerGravatar Miek Gieben <miek@miek.nl> 2018-06-15 07:37:22 +0100
commit70c957d885a6c6b33a0828c680e451a9e3a3994a (patch)
treeded4dcca7d38e9a17bd92fb68b49457617f51bbb /plugin/forward/README.md
parent6f865a9de7d5ddc3daf52512016a5bbf72e3fb9a (diff)
downloadcoredns-70c957d885a6c6b33a0828c680e451a9e3a3994a.tar.gz
coredns-70c957d885a6c6b33a0828c680e451a9e3a3994a.tar.zst
coredns-70c957d885a6c6b33a0828c680e451a9e3a3994a.zip
Plugin/Forward - autotune the dialTimeout for connection (#1852)
* - implement an auto-tunable dialTimeout for fallback. * - fix gofmt * - factorized timeout computation with readTimeout / updated readme / * - fix comment
Diffstat (limited to 'plugin/forward/README.md')
-rw-r--r--plugin/forward/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/forward/README.md b/plugin/forward/README.md
index 9223d22d8..d87ba2eec 100644
--- a/plugin/forward/README.md
+++ b/plugin/forward/README.md
@@ -82,6 +82,10 @@ forward FROM TO... {
Also note the TLS config is "global" for the whole forwarding proxy if you need a different
`tls-name` for different upstreams you're out of luck.
+On each endpoint, the timeouts of the communication are set by default and automatically tuned depending early results.
+- dialTimeout by default is 30 sec, and can decrease automatically down to 100ms
+- readTimeout by default is 2 sec, and can decrease automatically down to 10ms
+
## Metrics
If monitoring is enabled (via the *prometheus* directive) then the following metric are exported: