Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-77

Improve membership listing speed by caching groups associated with Memberships

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.3.0
    • 1.2.1
    • API
    • None

    Description

      PrivilegeHelper.canViewMemberships(GrouperSession s, Collection c) iterates across the Collection of Memberships and calls getGroup/getStem each time. Very often the Group/Stem will be the same for each Membership. Currently the API repetitively instantiates the same object - a relatively slow operation, expecially at Bristol where we have a number of custom types and attributes.

      Using Ehcache should greatly improve performance.

      Attachments

        Activity

          People

            isgwb Gary Brown (Inactive)
            isgwb Gary Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: