[MGNLUI-3315] Speed up messaging with many users in the system Created: 09/Dec/14  Updated: 06/Aug/15  Resolved: 15/Jan/15

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.7

Type: Improvement Priority: Critical
Reporter: Daniel Lipp Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: performance, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MAGNOLIA-6041 Create a method on UserManager return... Closed
relation
is related to MGNLUI-3316 Speed up LocalTaskDispatcherManager Closed
is related to MAGNOLIA-6010 Add possibility to retrieve all users... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

MessagesManagerImpl uses UserManager.getAllUsers() to retrieve all users on then filters for the ones having a certain group assigned. This can become very slow in case there's lots of users in the system. See linked issues for similar cases.

Caution: be careful to consider transitive groups as well when e.g. replacing with calls to UserManager's new methods introduced by MAGNOLIA-6010.



 Comments   
Comment by Christoph Meier [ 15/Jan/15 ]

Changes are on the branch "MGNLUI-3315".
Please ignore earlier commits on branch "MGNLUI-3315_tmp" (that branch has been removed from git, but JIRA may still display it).

To run this fix, make sure the fix for MAGNOLIA-6041 is part of your bundle. (When it is not yet integrated, use branch "MAGNOLIA-6041" for the main-project.

Generated at Mon Feb 12 09:05:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.