Preflight Checklist
Version
master
Storage Type
etcd
Installation Type
Official container image
Expected Behavior
I have tried the feature "#4113,
to configure hierarchical groups
Expected that login based on hierarchy will be done in some logical time (a few seconds)
Actual Behavior
I have tried the feature "#4113,
to configure hierarchical groups
As soon as I have a lot of groups, the performance is not as good as expected.
For me, it took ~60 seconds to iterate over all groups I'm in
Maybe the following points will help
Replaced O(n²) duplicate detection with O(1) map lookup
Multiple string comparisons
query batching
Having multi-threading will improve it
Steps To Reproduce
No response
Additional Information
No response
Configuration
Logs
Preflight Checklist
Version
master
Storage Type
etcd
Installation Type
Official container image
Expected Behavior
I have tried the feature "#4113,
to configure hierarchical groups
Expected that login based on hierarchy will be done in some logical time (a few seconds)
Actual Behavior
I have tried the feature "#4113,
to configure hierarchical groups
As soon as I have a lot of groups, the performance is not as good as expected.
For me, it took ~60 seconds to iterate over all groups I'm in
Maybe the following points will help
Replaced O(n²) duplicate detection with O(1) map lookup
Multiple string comparisons
query batching
Having multi-threading will improve it
Steps To Reproduce
No response
Additional Information
No response
Configuration
Logs