Project

General

Profile

Actions

Bug #21444

open

getting the list of directives that would apply to a pending node is painfully slow

Added by Nicolas CHARLES 2 months ago. Updated 6 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:
No

Description

the processDynGroup method take about 50seconds to process 460 group
real reason is that we pass the nodeId to the method, and it calls "check" for each of the group. And this method calls nodeInfoService.getPendingNodeInfos() to get all nodes infos, and this is slow because it does ldap query.
We should change the signature of this method to use limitToNodeInfos:Option[Seq[NodeInfo]] and prevent the 460 ldap query

Actions #1

Updated by Alexis Mousset 2 months ago

  • Target version changed from 6.2.16 to 6.2.17
Actions #2

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 6.2.17 to 997
Actions #3

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 997 to 6.2.18
Actions #4

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 6.2.18 to 6.2.19
Actions #5

Updated by Vincent MEMBRÉ 25 days ago

  • Target version changed from 6.2.19 to 6.2.20
Actions #6

Updated by Nicolas CHARLES 6 days ago

  • Regression set to No

this is still painfully slow

Actions

Also available in: Atom PDF