Files
coredns/plugin
Tobias Schmidt 422aec5f5f plugin/forward: Increase minimum read timeout to 200ms (#1889)
After several experiments at SoundCloud we found that the current
minimum read timeout of 10ms is too low. A single request against a
slow/unavailable authoritative server can cause all TCP connections to
get closed. We record a 50th percentile forward/proxy latency of <5ms,
and a 99th percentile latency of 60ms. Using a minimum timeout of 200ms
seems to be a fair trade-off between avoiding unnecessary high
connection churn and reacting to upstream failures in a timely manner.

This change also renames hcDuration to hcInterval to reflect its usage,
and removes the duplicated timeout constant to make code comprehension
easier.
2018-06-21 11:40:19 +01:00
..
2018-05-17 16:59:57 -04:00
2018-04-22 21:40:33 +01:00
2018-05-24 07:51:59 +01:00
2018-06-20 11:35:07 +01:00
2018-04-22 21:40:33 +01:00
2018-05-16 22:35:31 +01:00
2017-10-24 10:16:03 +01:00
2018-05-21 19:40:46 +01:00