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

Policy evaluation optimization: reorder policies and short-circuit evaluation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: