jrushford edited a comment on issue #8712:
URL: https://github.com/apache/trafficserver/issues/8712#issuecomment-1064708186


   @amoghyermalkar123 Here are my replies
   
   1.  Yes, the child will mark the parent down for a connection failure but 
not if the parent sends a 502 response to the child. There are some config 
options in parent.config that you can use to have the child retry a 502 
response from a parent using a different parent. There is also this 
configuration parameter to be aware of for markdowns:
        
[proxy.config.http.parent_proxy.fail_threshold](https://docs.trafficserver.apache.org/admin-guide/files/records.config.en.html#proxy-config-http-parent-proxy-fail-threshold)
   
   2. 
[proxy.config.http.parent_proxy.retry_time](https://docs.trafficserver.apache.org/admin-guide/files/records.config.en.html?highlight=proxy%20config%20http%20parent_proxy%20retry_time#proxy.config.http.parent_proxy.retry_time)
 is basically sliding retry window setting.  Once the retry_time expires, a 
down parent is selected and is retried.  If the transaction is successful, the 
parent is marked up.  If the connection fails, the parent is left down and the 
retry time is set again.
   
   3.  Your configs look good.  The only thing I can think of is to just look 
through the [Parent Proxy Configuration 
settings](https://docs.trafficserver.apache.org/admin-guide/files/records.config.en.html#parent-proxy-configuration),
 the 
[parent.config](https://docs.trafficserver.apache.org/admin-guide/files/parent.config.en.html?highlight=parent%20config#std-configfile-parent.config),
 and [Hierarchical 
Caching](https://docs.trafficserver.apache.org/admin-guide/configuration/hierarchical-caching.en.html?highlight=strategies)
   
   In a future release, parent.config will probably be deprecated.  In ATS 9.1 
and preferably 9.2, You can use 
[strategies.yaml](https://docs.trafficserver.apache.org/admin-guide/files/strategies.yaml.en.html)
 as this will replace parent.config
   
   I'm on the ATS slack channel and you can always email the user list or 
myself directly, [email protected]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to