Re: Configuring sleep times between parent connection retires?

2023-02-20 Thread Nick Dunkin
Hi John, Many thanks for the clarification. Cheers, Nick Sent from my iPhone > On Feb 20, 2023, at 7:20 PM, John Rushford wrote: > > Yeah, there is no mechanism that would wait within a transaction for a > parent to become available again. Within a transaction when a parent is > marked d

Re: Configuring sleep times between parent connection retires?

2023-02-20 Thread John Rushford
Yeah, there is no mechanism that would wait within a transaction for a parent to become available again. Within a transaction when a parent is marked down, ATS will try to select another available parent to complete the transaction or go direct to the origin if the config allows it. The closes

Re: Configuring sleep times between parent connection retires?

2023-02-20 Thread Nick Dunkin
Hi John, Ok, that’s what I thought. It’s the 502s that I’m trying to avoid in this instance. As far as I can tell, the retry mechanisms on a parent do not support any kind of “back off” mechanism, so you can have 100+ retries, but with an offline parent those “connection attempts” are exhauste

Re: Configuring sleep times between parent connection retires?

2023-02-20 Thread John Rushford
No a parent is not retried within the same transaction. If the configured number of retry counts is not exceeded, another parent would be chosen if there are other available parents. If there are no other available parents and the configs allow it, the transaction may go direct to the origin,

Re: Configuring sleep times between parent connection retires?

2023-02-20 Thread Nick Dunkin
Hi John, Thank you for the reply. Are you suggesting that I could have a parent marked down, with a very short retry_time (~1 second), and it would be retried within the same transaction? I would have thought that at the point it’s marked down, the transaction would end? Thanks Nick From: J

Re: Configuring sleep times between parent connection retires?

2023-02-20 Thread John J. Rushford
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.co

Configuring sleep times between parent connection retires?

2023-02-20 Thread Nick Dunkin
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 o