Bug #6133
closedPerformance of RuleCategory repository requests are bad
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.
Updated by François ARMAND almost 10 years ago
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 almost 10 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
Updated by François ARMAND almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 803a579cfd299d5aa34d205dffa5b7c632273640.
Updated by Nicolas CHARLES almost 10 years ago
Applied in changeset 0a05c215e9af1f134e7b10c6b3958dcd438723f0.
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Subject changed from Performance of RuleCategory repository request are bad to Performance of RuleCategory repository requests are bad
Updated by Vincent MEMBRÉ almost 10 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.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/