Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2106

Improve CertificateProfileCache and EndEntityProfileCache

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.0
    • Fix Version/s: EJBCA 4.0.2
    • Component/s: PKI core
    • Labels:
      None

      Description

      CertificateProfileCache and EndEntityProfileCache is updated lazily and there might also be several threads trying to update the cache at the same time.

      Since many operations rely on searching through all profiles, we need to cache all of them. To avoid the performance hit of updating the cache during a request by reading all the profiles, we should used a timer service to refresh these in the background and always return the latest version from the cache. This will lower worst case response times.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              johan Johan Eklund
              Reporter:
              johan Johan Eklund
              Verified by:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: