Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4551

Make avatar cache TTL configurable

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Creating on behalf of customer from SAC:

      
      Our production instance is proxied by nginx, which also caches all cacheable responses. Nginx is configured to log 'cache status' for each request – whether it was served from cache (HIT) or from upstream (MISS or EXPIRED). EXPIRED means that response was found in the cache but its TTL had expired.
      
      Since the beginning of this year, there were 300940 requests to /avatar. Breakdown by cache status:
      
      MISS 5498
      HIT 77272
      EXPIRED 218170
      
      Note the share of EXPIRED requests. CPU time taken to process them could have been spent in other ways.
      
      Please raise the max-age for avatars or make it configurable.
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ganand Gurleen Anand [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: