[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: |
|
||||||||||||||||||||
| 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 |
| 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 " To run this fix, make sure the fix for |