Madhan Neethiraj created RANGER-3951:
----------------------------------------

             Summary: 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


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)

Reply via email to