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

Policy evaluation optimization: reorder policies and short-circuit evaluation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The policy engine currently evaluates policies in the order received from the cache/REST API. To minimize the policy evaluation time, it will be best to start with policies that are most likely to match for the access request. For example, policies that deal with all-wildcard for resource names, etc.

      This JIRA is to implement this optimization. There will be another JIRA to track more sophisticated optimization, like use of caching, usage pattern, etc.

        Attachments

        1. RANGER-307.patch
          58 kB
          Abhay Kulkarni

          Activity

            People

            • Assignee:
              abhayk Abhay Kulkarni
              Reporter:
              madhan Madhan Neethiraj
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: