Project

General

Profile

Actions

Bug #5277

closed

Group page is really slow when a lot of groups are defined

Added by François ARMAND almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
1
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:

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.

Actions #1

Updated by François ARMAND almost 8 years ago

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.

Actions #2

Updated by François ARMAND almost 8 years ago

  • 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
Actions #3

Updated by François ARMAND almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Vincent MEMBRÉ almost 8 years ago

  • 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
Actions #6

Updated by Vincent MEMBRÉ almost 8 years ago

  • 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
Actions #7

Updated by Matthieu CERDA almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.4, which was released today.
Check out:

The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-August/000106.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions

Also available in: Atom PDF