[
https://issues.apache.org/jira/browse/RANGER-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ankita Sinha updated RANGER-3621:
---------------------------------
Description:
Optimise the logic of Tag and service-policies cache iterator
{+}_Problem Statement_{+}:
Tags/policies in the iterator are not freed till the whole processing of all
Tags/policies are done. So, in the case where there are lot of tag/policies,
the performance can be impacted as the large number of tags/policies are held
by iterator for long time. This causes performance degradation while retrieving
the tags from db.
{+}_Solution_{+}:
The individual tag/policy as soon as it is processed should be removed from the
iterator.
was:
Optimise the logic of Tag iterator
{+}_Problem Statement_{+}:
Tags in the iterator are not freed till the whole processing of all Tags are
done. So, in the case where there are lot of tag, the performance can be
impacted as the large number of tags are held by iterator for long time. This
causes performance degradation while retrieving the tags from db.
{+}_Solution_{+}:
The individual tag as soon as it is processed should be removed from the
iterator.
> Optimise Tag/Policy iterator
> ------------------------------
>
> Key: RANGER-3621
> URL: https://issues.apache.org/jira/browse/RANGER-3621
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Affects Versions: 2.2.0
> Reporter: Ankita Sinha
> Assignee: Ankita Sinha
> Priority: Major
> Attachments: RANGER-3621-Optimise-Tag-iterator.patch
>
>
> Optimise the logic of Tag and service-policies cache iterator
> {+}_Problem Statement_{+}:
> Tags/policies in the iterator are not freed till the whole processing of all
> Tags/policies are done. So, in the case where there are lot of tag/policies,
> the performance can be impacted as the large number of tags/policies are held
> by iterator for long time. This causes performance degradation while
> retrieving the tags from db.
> {+}_Solution_{+}:
> The individual tag/policy as soon as it is processed should be removed from
> the iterator.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)