Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3027

Improve response time for GET API service/xusers/users

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Ranger
    • Labels:
      None

      Description

      When there are large number of users and group_users data in database; GET API service/xusers/users takes longer time to respond if we set request parameter pageSize=1000  or more.

      However, with default value pageSize=25 response received instantaneously.

      select count(*) from x_user;
      50052
      
      select count(*) from x_group_users;
      500056
      

        Attachments

        1. 0001-RANGER-3027-Improve-response-time-for-GET-API-servic.patch
          21 kB
          RickyMa
        2. snapshot1.png
          29 kB
          RickyMa
        3. snapshot2.png
          51 kB
          RickyMa

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                maheshbandal Mahesh Hanumant Bandal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m