[MGNLUI-3316] Speed up LocalTaskDispatcherManager 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 MAGNOLIA-6010 Add possibility to retrieve all users... Closed
is related to MGNLUI-3315 Speed up messaging with many users in... 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   

LocalTaskDispatcherManager uses UserManager.getAllUsers() to retrieve all users, 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 Daniel Lipp [ 10/Dec/14 ]

raising to critical and labeling with support as it happened at a customer side (Aktion Mensch)...

Comment by Christoph Meier [ 15/Jan/15 ]

Fix has been committed onto branch "MGNLUI-3315" (see http://goo.gl/TvPIZK).

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:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.