[
https://issues.apache.org/jira/browse/RANGER-3951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-3951:
-------------------------------------
Attachment: RANGER-3951.patch
> optimize memory used for tags in plugins and server
> ---------------------------------------------------
>
> Key: RANGER-3951
> URL: https://issues.apache.org/jira/browse/RANGER-3951
> Project: Ranger
> Issue Type: Improvement
> Components: admin, plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.4.0
>
> Attachments: RANGER-3951.patch
>
>
> In deployments using large number of tags, significant amount of memory usage
> can be reduced by:
> * cache has as many instances of a tag as the number of resource
> associations. Enabling dedup of tags eliminates duplicate tag instances
> * not initializing few collection members with new collection instances
> (Map, List) - as much as 25% of memory needed to cache tags
> * skipping serialization of empty collections can reduce the size of the
> JSON downloaded to plugin
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)