Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-894

Improve SimpleRoleGroup Scalability to Large Numbers of Roles

    XMLWordPrintable

Details

    Description

      During load testing we found out that SimpleRoleGroup does not scale well to large numbers of roles (200 in our case). The reason for this is that it uses ArrayList#contains with scales linearly with the size of the collection. Since the method is called in a loop the scalability is actually quadratic.

      See the following mailing list discussion and the attached screenshot.

      Attachments

        Activity

          People

            sguilhen Stefan Guilhen
            pmarscha Philippe Marschall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: