mlibbey commented on issue #12334:
URL: 
https://github.com/apache/trafficserver/issues/12334#issuecomment-3046544970

   Sure -- the ATS metrics are also likely constantly changing. You really have 
2 choices: serve stale data from cache, or fresh data from the plugin. 
Presumably, when using the max-age param (and thus the cache), your client 
would send an IMS request with the Last-Modified date, so that the cache would 
send 304 Not Modified if the request came within max-age sec of the initial 
request. Then after max-age time, the next request would be served from the 
plugin, updating cache. 
   For our use case, the number of stats requests to a machine is tiny, so, any 
extra performance of getting data from cache is negligible -- we'd much rather 
get fresh data "directly" from the plugin.


-- 
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: issues-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to