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

REST search queries make Ranger incredibly slow

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Workaround
    • Affects Version/s: 0.7.0
    • Fix Version/s: None
    • Component/s: Ranger
    • Labels:
      None

      Description

      If amount of Ranger policies is relatively big (3000-4000), then REST search queries (e.g. search policy by name) make Ranger very slow. Example:

      curl -u admin:admin -X GET http://host:6080/service/plugins/policies?policyName=somePolicyName

      2-3 such queries (if we have ~3k policies) can cause too long delays even for simple requests, while these searches aren't completed. In some cases, when we ran several search queries simultaneously, this Ranger behavior caused 9 min delay for simple adding a new policy.

        Attachments

        1. bulkpolicytest.png
          123 kB
          Pradeep Agrawal
        2. totalPolicy.png
          144 kB
          Pradeep Agrawal

          Activity

            People

            • Assignee:
              pradeep.agrawal Pradeep Agrawal
              Reporter:
              aposledov Alexander Posledov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: