Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP Group Backend optimizations #19919

Merged
merged 5 commits into from
Apr 24, 2020
Merged

LDAP Group Backend optimizations #19919

merged 5 commits into from
Apr 24, 2020

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Mar 12, 2020

In some test scenarios I reduced page loading of users page over 20% 40% (with 4k of groups), and OCS calls to fetch user details 10% down stagnate (also with 4k groups). Extreme cases of course, but the changes make sense either way. In the end, it is also very individual, depending on the config and setup.

@blizzz blizzz added this to the Nextcloud 19 milestone Mar 12, 2020
@blizzz blizzz force-pushed the enh/noid/ldpa_group_perf branch 2 times, most recently from ab9f13a to 7d1f0ce Compare March 15, 2020 22:11
This was referenced Apr 4, 2020
This was referenced Apr 15, 2020
@rullzer
Copy link
Member

rullzer commented Apr 17, 2020

@blizzz 19?

- less duplication
- profiting of the same cache entry

Signed-off-by: Arthur Schiwon <[email protected]>
- saves some overhead costs
- in some occasions saves LDAP requests

Signed-off-by: Arthur Schiwon <[email protected]>
Keep a runtime cache of dn-id-mapping

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz marked this pull request as ready for review April 17, 2020 14:07
@blizzz blizzz added 3. to review Waiting for reviews enhancement and removed 2. developing Work in progress labels Apr 17, 2020
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@rullzer rullzer mentioned this pull request Apr 23, 2020
11 tasks
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘 your call @blizzz

@blizzz
Copy link
Member Author

blizzz commented Apr 23, 2020

elephant your call @blizzz

Aye! Lemme adjust the formatting commit for the remaining stuff the csfixer is complaining about and then merge

Signed-off-by: Arthur Schiwon <[email protected]>
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@skjnldsv
Copy link
Member

Failures seems unrelated

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 24, 2020
@blizzz blizzz merged commit 212138d into master Apr 24, 2020
@blizzz blizzz deleted the enh/noid/ldpa_group_perf branch April 24, 2020 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: ldap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants