Bug #5277
closed
Group page is really slow when a lot of groups are defined
Added by François ARMAND over 10 years ago.
Updated over 10 years ago.
Category:
Performance and scalability
Description
On some test installation with around 150 groups, the page "group" is dead slow ( > 20s on my test machine) to display.
Some basic profiling show that the bottlneck is not link to i/o, but more likelly with some scala code taking a lot of time to process.
Some more analysis show that in place of:
- getting info for the group tree without details about group
- displaying the tree of groups,
- when a group is clicked, reaching with ajax the group info
- displaying the group info
What is actually done is:
- get info for the group tree AND FOR EACH GROUP prepare the group form with its details
- display the tree of groups
- when a group is clicked, display the prepared form.
Of course, what is done now is both FALSE (group may have change between displaying the tree and wanting its details) and DEAD SLOW.
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/584
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Subject changed from The group page is very slow when a lot of groups are defined to The group page is really slow when a lot of groups are defined
- Subject changed from The group page is really slow when a lot of groups are defined to Group page is really slow when a lot of groups are defined
- Status changed from Pending release to Released
Also available in: Atom
PDF