Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-2315Implement caching of data to the IdentityManagementService implementation
      KULRICE-3006Implement Parameter caching in the ParameterProxyService
      KULRICE-8327Implement caching for Message Service
      KULRICE-3007Implement caching in the RiceApplicationConfigurationMediationServiceImpl
      KULRICE-2452Implement cluster-aware caching on KNS System Parameters
      KULRICE-5319Implement caching on remote soap services
      KULRICE-2385Implement caching on the IdentityManagementService - Phase 2
      KULRICE-2384Implement caching on the IdentityManagementService - Phase 1
      KULRICE-2418Implement cache aging and flushing on PersonServiceImpl
      KULRICE-1208Implement caching in ActionFormUtilMap
    • Rice Module:
      KEW
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Because of the way that rule processing works in KEW, if you have a lot of rules the Rice code calls ExtensionRepositoryService.getExtensionByName many times with the same arguments (in one example here at IU, it was calling it 2600 times). Without this caching it could take 20+ minutes to load all this data via a bunch of web service calls. This highlights the need for caching on this service.

      We should add @Cachable annotations to all three methods on the service interface and then add @CacheEvict annotation to RuleAttributeService.save and RuleAttributeService.delete (probably will be easiest to set this to flush all entries, see other cache eviction annotations for examples). We will also need to modify the ehcache-kew.xml configuration file to add the new cache type and set it's size as appropriate (a good default size might be around 5000?)

        Activity

        Hide
        Shannon Hess added a comment -

        There is currently no timeToLiveSeconds set for kew.ehcache.xml, and I left it that way. If this should be added just let me know and I can do that.

        Show
        Shannon Hess added a comment - There is currently no timeToLiveSeconds set for kew.ehcache.xml, and I left it that way. If this should be added just let me know and I can do that.

          People

          • Assignee:
            Shannon Hess
            Reporter:
            Eric Westfall
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel