Project

General

Profile

Actions

Architecture #3388

closed

Some LDAP interaction seems to be not perfectly efficient

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

Status:
Released
Priority:
1 (highest)
Category:
Architecture - Code maintenance
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

We encounter several cases when a lot of identical LDAP queries are made to display something (for instance, the Rule Grid, to fetch the directive name); and it causes lots of object generation and lots of round trip to the ldap server

There ought to be some room for improvement


Subtasks 2 (0 open2 closed)

Architecture #3676: In CF-Clerk, make CF3PromiseDraft immutableReleasedNicolas CHARLES2013-07-02Actions
Architecture #3677: Create data structure to hold full immatable representation of directive & group tree and use them in place of I/OsReleasedNicolas CHARLES2013-07-02Actions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #3387: When there are a lot of directive, the display of the detail of a directive is painfully slowReleasedVincent MEMBRÉ2013-04-03Actions
Related to Rudder - Architecture #3386: It would be much more conveninent to have ActiveTechnique within the Directive objectRejectedActions
Actions #1

Updated by François ARMAND over 11 years ago

  • Status changed from New to 8
  • Assignee set to François ARMAND
  • Priority changed from N/A to 1 (highest)
  • Target version changed from Ideas (not version specific) to 2.7.0~beta1

This is also a big problem in the deployment service, as it can lead to inconsistency between the start and the end of the script.

So, the goal here is to create two datastructures, one for groups and one for directives, that represent a full, complete tree, self-contained, and a method in corresponding repository to get that structure.

Then, we will have to track all use of services that should use these datastructure in place of making LDAP requests.

Actions #2

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from 8 to Discussion
Actions #3

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Discussion to 10
Actions #4

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from 10 to 12
Actions #5

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from 12 to Pending release
Actions #6

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF