Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4344

Significantly Slower Sync to Confluence or JIRA in Crowd 2.8 due to /rest/usermanagement/1/group/membership

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.10.1
    • 2.8, 2.9.1
    • Performance
    • None

      Crowd 2.8's /rest/usermanagement/1/group/membership is significantly slower than earlier versions of Crowd, 2.7 and 2.6 . Here is an example between Crowd 2.6.5 and Crowd 2.8.0 with 50000 users, and 1000 groups, and 1000000+ group memberships (this is with flat group memberships only. The problem is compounded with Nested Group memberships):

      1. Crowd 2.6.5 took 56s to load /rest/usermanagement/1/group/membership
        wget --user crowdperformance --password admin http://localhost:8265/crowd/rest/usermanagement/1/group/membership
        --2015-05-06 18:24:19--  http://localhost:8265/crowd/rest/usermanagement/1/group/membership
        Resolving localhost... 127.0.0.1, ::1
        Connecting to localhost|127.0.0.1|:8265... connected.
        HTTP request sent, awaiting response... 401 Unauthorized
        Connecting to localhost|127.0.0.1|:8265... connected.
        HTTP request sent, awaiting response... 200 OK
        Length: unspecified [application/xml]
        Saving to: `membership.1'
        
            [        <=>                            ] 29,348,141   585K/s   in 56s
        
      2. Crowd 2.8.0 took around 8 mins to load /rest/usermanagement/1/group/membership:
        wget --user crowdperformance --password admin http://localhost:8280/crowd/rest/usermanagement/1/group/membership
        --2015-05-06 18:15:32--  http://localhost:8280/crowd/rest/usermanagement/1/group/membership
        Resolving localhost... 127.0.0.1, ::1
        Connecting to localhost|127.0.0.1|:8280... connected.
        HTTP request sent, awaiting response... 401 Unauthorized
        Connecting to localhost|127.0.0.1|:8280... connected.
        HTTP request sent, awaiting response... 200 OK
        Length: unspecified [application/xml]
        Saving to: `membership'
        
            [                       <=>             ] 29,348,141   175K/s   in 8m 2s
        

      Both queries return the exact same XML output

      Note

      This is tested with the same exact user base (via CSV import). It is especially evident with a high user-base .

            [CWD-4344] Significantly Slower Sync to Confluence or JIRA in Crowd 2.8 due to /rest/usermanagement/1/group/membership

            Rudy Slaiby made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 121917 ]
            Rudy Slaiby made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 133857 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1511233 ] New: JAC Bug Workflow v3 [ 3365724 ]
            Ricardo made changes -
            Affects Version/s New: 2.9.1 [ 46094 ]
            vkharisma made changes -
            Link New: This issue is blocked by CONFCLOUD-44221 [ CONFCLOUD-44221 ]
            Rachel Robins made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 259544 ]
            Denise Unterwurzacher [Atlassian] (Inactive) made changes -
            Link New: This issue is related to CONF-45698 [ CONF-45698 ]
            Christian Glockner made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 109890 ]
            Michael Andreacchio made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 223872 ]
            Michael Andreacchio made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 223104 ]

              ppetrowski Patryk
              fsim Foo Sim (Inactive)
              Affected customers:
              17 This affects my team
              Watchers:
              45 Start watching this issue

                Created:
                Updated:
                Resolved: