[
https://issues.apache.org/jira/browse/RANGER-3934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-3934:
-------------------------------------
Attachment: RANGER-3934.patch
> improve tag cache handling to reduce resource usage
> ---------------------------------------------------
>
> Key: RANGER-3934
> URL: https://issues.apache.org/jira/browse/RANGER-3934
> Project: Ranger
> Issue Type: Improvement
> Components: admin
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.4.0
>
> Attachments: RANGER-3934.patch
>
>
> Ranger admin server maintains a cache of tags so that requests from plugins
> can be served as quickly as possible. If there were changes to tags since the
> cache was last loaded/updated, the cache is refreshed. Ranger supports an
> option to record the changes and apply them on top of existing cache - this
> minimizes the resources (memory, CPU) needed to rebuild the cache. The cache
> update implementation can be optimized to minimize objects loaded from db,
> and also replace use of Map with Set in several places.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)