Project

General

Profile

Actions

Bug #6133

closed

Performance of RuleCategory repository requests are bad

Added by François ARMAND about 9 years ago. Updated about 9 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 ARMAND2014-01-14Actions
Actions #1

Updated by François ARMAND about 9 years ago

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

Actions #2

Updated by François ARMAND about 9 years ago

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

Updated by François ARMAND about 9 years ago

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

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #6

Updated by Vincent MEMBRÉ about 9 years ago

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

Updated by Vincent MEMBRÉ about 9 years ago

  • 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: Atom PDF