Project

General

Profile

Actions

Bug #6133

closed

Performance of RuleCategory repository requests are bad

Bug #6133: Performance of RuleCategory repository requests are bad

Added by François ARMAND over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
2
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

We can optimise A LOT that (ex: number of request to get a category and its children is proportionnal to number of children - it could be one) and even more with the assumption that the number of categories will always be small (<1000) and so, we have a lot to gain to ALWAYS get them all and do things on that that make multiple queries, because:

- what is costly is the network + request encoding/decoding
- openLDAP will optimize immenselly a request done again and again.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4359: It is overly slow to show the list of Pending Review or Pending Deployment even if the number is 0ReleasedFrançois ARMANDActions

Updated by François ARMAND over 11 years ago Actions #1

This bug can also lead to bad performance in Change Request page where a lot call to the "getParent" method is done.

Updated by François ARMAND over 11 years ago Actions #2

  • Status changed from 8 to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/781

Updated by François ARMAND over 11 years ago Actions #3

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

Updated by Vincent MEMBRÉ over 11 years ago Actions #5

  • Target version changed from 2.10.9 to 2.10.10

Updated by Vincent MEMBRÉ over 11 years ago Actions #6

  • Subject changed from Performance of RuleCategory repository request are bad to Performance of RuleCategory repository requests are bad

Updated by Vincent MEMBRÉ over 11 years ago Actions #7

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.

Actions

Also available in: PDF Atom