You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2022/10/17 22:37:00 UTC

[jira] [Created] (RANGER-3951) optimize memory used for tags in plugins and server

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)