Skip to Content.
Sympa Menu

grouper-users - [grouper-users] getPermissionAssignments is slow

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] getPermissionAssignments is slow

Chronological Thread 
  • From: Julio Polo <>
  • To: "" <>
  • Subject: [grouper-users] getPermissionAssignments is slow
  • Date: Wed, 25 Mar 2015 17:46:31 -1000

Is 2.3 seconds considered unusually slow for a web service call to getPermissionAssignmentsLite?

We are using Grouper permissions for access control to a PHP app, and those 2.3s are quite noticeable at each click.

We only have one stem with three attribute definitions, and I'm providing that in the call. Here is what I'm sending via REST and XML:

          'action' => 'someActionString',
          'permissionType' => 'role_subject',
          'roleName' => 'STEM:FOR:APP:permissions:roles:admins',
          'wsSubjectId' => '99999999',
          'wsAttributeDefNameName' => 'STEM:FOR:APP:permissions:resources:app',
          'wsAttributeDefName' => 'STEM:FOR:APP:permissions:definitions:app'

The results come back in 2315 milliseconds:

         'responseMetadata' => {
                                'serverVersion' => '2.1.5',
                                'millis' => '2315',
                                'resultWarnings' => {}

For comparison, a similar query with permissionType='role' comes back in 409 millis.

Could it be that I have too many actions?  I have 40 actions defined for the above permission.  The other two permissions have 51 and 29 actions respectively.

Julio Polo
Enterprise Middleware, Identity and Access Management
Information Technology Services
University of Hawaii

Archive powered by MHonArc 2.6.16.

Top of Page