Project

General

Profile

Actions

Bug #9864

closed

Bug #9854: Slow compliance computation in Rudder 4.0

getNodeStatusReports is called for each node, and is slow to compute PolicyMode Inconsistency

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

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

Description

getNodeStatusReports is called for every nodes with new compliance, and it easily cost several seconds from a thousand of node

Issue is in computation of status, which iterate over all compliance, and is fairly expensive (even more with 9857 as it triggers actual compliance computation) - it represents 50 to 80% of the cost of this method


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #9869: Compliance on all reports is always computed, even when not necessaryReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF