Project

General

Profile

Actions

Bug #20367

closed

Bug #20366: get rules/tree and get groups/tree are very slow

first go at improving perfs for rules/tree

Added by Nicolas CHARLES over 2 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

the costly part is really to get the NodeInfo from the computed NodeIds in getRuleApplicationStatus, then if the rule is applied ( applicationService.isApplied(rule,groupLib,directiveLib,nodesLib) ) and then computing the policymode ( ComputePolicyMode.ruleMode(globalMode, directives.map(._2), nodes.map(.policyMode)) )

Actions

Also available in: Atom PDF