Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3951

optimize memory used for tags in plugins and server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • admin, plugins
    • None

    Description

      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

       

      Attachments

        1. RANGER-3951.patch
          31 kB
          Madhan Neethiraj

        Issue Links

          Activity

            People

              madhan Madhan Neethiraj
              madhan Madhan Neethiraj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: