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

Improve performance of building and querying RangerResourceTrie

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 1.2.0
    • 2.1.0
    • Ranger
    • None

    Description

      When we have 100,000 policies, it takes a long time to initialize hive plugin (more than 1min) and evaluate access request(more than 1s). Digging into the process, we found java stack as above images. Obviously it is the List.IndexOf method which makes it taking too much time.

      Attachments

        1. building resource trie.png
          267 kB
          star
        2. getMostLikelyEvaluators.png
          325 kB
          star
        3. RANGER-2651.patch
          32 kB
          Abhay Kulkarni
        4. ranger-2651.path
          24 kB
          star

        Activity

          People

            starphin star
            starphin star
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: