Actions
Architecture #14939
openInefficient storage of software in LDAP directory
Pull Request:
Effort required:
Name check:
Fix check:
Regression:
Description
Software details are store in a specific branch, with deduplication, so that's great, but we store the full dn of these software in a node.
So every node get 2000 entries like
softwareId=000ddc3b-6c0a-4394-bb52-ad9cf012658d,ou=Software,ou=Inventories,cn=rudder-configuration
there is about twice as much data as necessary there, we could simply have the uuid and not the full DN to the software
Impact is double:- ldap directory is bigger than necessary, so its slower than necessary
- we need much more memory for everything:
when we get a node, we need to transport the thousands softwares dn, convert them to string, and manipulate it
memory impact is huge
we keep moving from softwareid that's an id to software dn that's a dn
Getting, from all the nodes, all the softwares entry, with 1000 nodes result in 1.5GB of memory, and a huge strain on GC
Graph shows big spike where all softwares are fetched, the frop is a GC
Files
Updated by François ARMAND almost 5 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Rudder settings | Plugins
- Priority changed from 0 to 43
Updated by François ARMAND almost 5 years ago
- Related to Architecture #14923: Dynamic groups with regex on software are long to build delaying generation added
Updated by François ARMAND over 3 years ago
- Tracker changed from Bug to Architecture
- Severity deleted (
Major - prevents use of part of Rudder | no simple workaround) - User visibility deleted (
Operational - other Techniques | Rudder settings | Plugins) - Priority deleted (
43)
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
Updated by Alexis Mousset over 2 years ago
- Target version changed from old 6.1 issues to relocate to 8.0.0~alpha1
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 8.0.0~alpha1 to 8.0.0~beta1
Updated by Alexis Mousset almost 2 years ago
- Target version changed from 8.0.0~beta1 to 8.1.0~alpha1
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 8.1.0~alpha1 to 8.1.0~beta1
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 8.1.0~beta1 to 8.1.0~beta2
Actions