[midPoint-git] [Evolveum/midpoint] a947a0: Improve performance of query cache invalidation

mederly noreply at github.com
Wed Sep 29 13:07:27 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a947a09701bf58c0924531145263770a8dd5664a
      https://github.com/Evolveum/midpoint/commit/a947a09701bf58c0924531145263770a8dd5664a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalQueryCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/Invalidator.java

  Log Message:
  -----------
  Improve performance of query cache invalidation

We replaced Cache2k cache.invokeAll call by simple map removeIf.
This improved invalidation time (for 40000 cached queries
for simple objects) from 184.38 ms to 45.54 ms (by 75%).

Related to MID-6245.


  Commit: 6faf3abbedef1c828fe145ce9933ebfea6145a93
      https://github.com/Evolveum/midpoint/commit/6faf3abbedef1c828fe145ce9933ebfea6145a93
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/MainObjectListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/LeftMenuPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/AbstractPageObjectDetails.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskTablePanel.java
    M gui/admin-gui/src/main/resources/initial-objects/000-system-configuration.xml
    M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/TestTextFormatter.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/ExtensionUpdateContext.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/ca8aed1005b6...6faf3abbedef


More information about the midPoint-svn mailing list