Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3220

Update http cache stats so we can determine if a response was served from ram cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • Metrics

    Description

      Currently we use a combination of ram cache stats and some http ram cache information to try to determine if the response was served from ram cache. The ram cache stats don't know about http and the entry in ram cache might not be valid. It is possible to have a ram cache hit from the cache's point of view, but not serve the response from cache at all.

      The http cache stats are missing a few stats to determine if the response was served from ram. We would need to add stat for ims responses served from ram proxy.process.http.cache_hit_mem_ims and a stat if the stale response was served from ram proxy.process.http.cache_hit_mem_stale_served.

      Ram cache stats for reference

      proxy.process.cache.ram_cache.hits
      proxy.process.cache.ram_cache.misses
      

      Current http cache stats for reference

      proxy.process.http.cache_hit_fresh
      proxy.process.http.cache_hit_mem_fresh
      proxy.process.http.cache_hit_revalidated
      proxy.process.http.cache_hit_ims
      proxy.process.http.cache_hit_stale_served
      proxy.process.http.cache_miss_cold
      proxy.process.http.cache_miss_changed
      proxy.process.http.cache_miss_client_no_cache
      proxy.process.http.cache_miss_client_not_cacheable
      proxy.process.http.cache_miss_ims
      

      Attachments

        Activity

          People

            bcall Bryan Call
            bcall Bryan Call
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: