Actions
Bug #6133
closedPerformance of RuleCategory repository requests are bad
Status:
Released
Priority:
2
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
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.
Actions