Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-177

Optimise ResourcesContainer by caching items

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.4.1
    • 2.4
    • None
    • Sprint 3 (Basel)
    • 1

      Currently each time ResourceContainer#getItem() is called - a new Vaadin Item is created, which means every time ResourceContainer#getContainerProperty(...) is invoked - another item with n-properties is instantiated which leads to a significant memory footprint and potential issues with scalability.

      Simple hash-map based cache with a limited capacity would already help a lot.

        Acceptance criteria

              ilgun Ilgun Ilgun
              apchelintcev Aleksandr Pchelintcev
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3h
                    3h