Nick,
See the Parent Proxy Configurations,
https://docs.trafficserver.apache.org/admin-guide/files/records.config.en.html#parent-proxy-configuration
You may need to do some tweaking. There is a sliding window,
proxy.config.http.parent_proxy.retry_time. When the failure threshold
,proxy.config.http.parent_proxy.fail_threshold¶, on a parent is reached
the parent is marked down and will not be used until the retry window
has elapsed. when the window has elapsed, a failed parent will be
retried but, if the retry fails, no further attempts will be made to
that parent until the retry window has elapsed again. If the retry
succeeds, the parent is marked up.
thanks
John
On 2/20/23 12:02, Nick Dunkin wrote:
Hi,
If a parent cache is offline for a brief period of time (say < 3
seconds) I would like to know if there is way to configure a “sleep”
between connection retries on a particular parent?
The ability to configure the “connection attempts” is not useful here,
as when the parent is completely offline the algorithm can run through
many hundreds of connection attempts in milliseconds (confirmed from
logs).
The use case here is that, for us, it is preferable to make the client
occasionally wait 1-3 seconds, than to return them a HTTP 502.
I’ve started looking at the code, but I’d like to confirm that this is
not already supported somehow.
Many thanks
Nick
*Nick Dunkin*
Director, Software Architecture
Manager – Architecture and New Product Introduction
*o: **+1 678.258.4071*
*e:*nick.dun...@vecima.com <mailto:nick.dun...@vecima.com>
cidimage001.png@01D6CC8C.6FC5A580