Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 1.36.0
    • None
    • None

    Description

      the following potential improvements have been identified:

      • lazy init of the permission-entry-cache: initialize the cache on demand (in particular after calling Session.save())
      • remember if entries for all principals have been fully loaded (in which case using the pathEntryMap is possible)
      • introduce a threshold for eagerly loading entries for principals with few access controlled paths (<maxpaths)

      Attachments

        1. HasPrivilegesHasItemGetItemTest_cachestrategy_2_20200916_175125.txt
          558 kB
          Angela Schreiber
        2. RefreshHasPrivPermHasItemGetItemTest_cachestrategy_2_20200916_181112.txt
          573 kB
          Angela Schreiber
        3. HasPermissionHasItemGetItemTest_cachestrategy_2_20200916_172125.txt
          558 kB
          Angela Schreiber
        4. RefreshHasItemGetItemTest_cachestrategy_2_20200916_183429.txt
          556 kB
          Angela Schreiber
        5. SaveHasItemGetItemTest_cachestrategy_2_20200916_190038.txt
          467 kB
          Angela Schreiber
        6. HasPermissionHasItemGetItemTest_cachestrategy_1_20200916_144644.txt
          556 kB
          Angela Schreiber
        7. HasPrivilegesHasItemGetItemTest_cachestrategy_1_20200916_150801.txt
          555 kB
          Angela Schreiber
        8. RefreshHasPrivPermHasItemGetItemTest_cachestrategy_1_20200916_152943.txt
          566 kB
          Angela Schreiber
        9. RefreshHasItemGetItemTest_cachestrategy_1_20200916_155650.txt
          578 kB
          Angela Schreiber
        10. SaveHasItemGetItemTest_cachestrategy_1_20200916_162139.txt
          489 kB
          Angela Schreiber
        11. RefreshHasItemGetItemTest_upperbound_20200915_172917.txt
          545 kB
          Angela Schreiber
        12. HasPrivilegesHasItemGetItemTest_upperbound_20200915_174941.txt
          567 kB
          Angela Schreiber
        13. SaveHasItemGetItemTest_upperbound_20200915_170411.txt
          472 kB
          Angela Schreiber
        14. RefreshHasPrivPermHasItemGetItemTest_upperbound_20200915_182525.txt
          559 kB
          Angela Schreiber
        15. HasPermissionHasItemGetItemTest_upperbound_20200915_182525.txt
          576 kB
          Angela Schreiber
        16. RefreshHasPrivPermHasItemGetItemTest_isfullyloaded_20200916_094436.txt
          528 kB
          Angela Schreiber
        17. SaveHasItemGetItemTest_isfullyloaded_20200916_110155.txt
          451 kB
          Angela Schreiber
        18. HasPermissionHasItemGetItemTest_isfullyloaded_20200916_092114.txt
          553 kB
          Angela Schreiber
        19. RefreshHasItemGetItemTest_isfullyloaded_20200916_103829.txt
          529 kB
          Angela Schreiber
        20. HasPrivilegesHasItemGetItemTest_isfullyloaded_20200916_101741.txt
          558 kB
          Angela Schreiber
        21. RefreshHasItemGetItemTest_lazyinit_20200911_183632.txt
          574 kB
          Angela Schreiber
        22. HasPrivilegesHasItemGetItemTest_lazyinit_20200911_185719.txt
          566 kB
          Angela Schreiber
        23. HasPermissionHasItemGetItemTest_lazyinit_20200911_185719.txt
          564 kB
          Angela Schreiber
        24. RefreshHasPrivPermHasItemGetItemTest_lazyinit_20200911_194538.txt
          583 kB
          Angela Schreiber
        25. SaveHasItemGetItemTest_lazyinit_20200915_152111.txt
          497 kB
          Angela Schreiber

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: