Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3838

[aws-ext] Proactive & Asynchronous caching of binary when its metadata is accessed from S3

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.9.1
    • jackrabbit-data
    • None

    Description

      When there is length request for a binary( not present in local cache),S3DS just send HEAD request of binary in S3 to fetch the metadata. The actual binary is not retrieved and cached locally. The reason is that length is often needed in list pages and caching these binaries locally slow down the response time. The impact is higher if there is large binaries( say 1GB) are there in list pages.
      Customer reported that in their application sees lot of HEAD request ( approx 1500) for the same binary as it is not cached in HEAD request. Now it seems that the bottleneck are the HEAD requests that are hitting the S3.

      Solution: After completing HEAD request asynchronously cache binary. So next time binary's metadata request is fulfilled from local cache.

      Attachments

        1. JCR-3838.patch
          8 kB
          Shashank Gupta

        Activity

          People

            amitjain Amit Jain
            shgupta Shashank Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: