Skip to content

LDAP Group Backend optimizations - #19919

Merged
blizzz merged 5 commits into
masterfrom
enh/noid/ldpa_group_perf
Apr 24, 2020
Merged

LDAP Group Backend optimizations#19919
blizzz merged 5 commits into
masterfrom
enh/noid/ldpa_group_perf

Conversation

@blizzz

@blizzzblizzz commented Mar 12, 2020

Copy link
Copy Markdown
Member

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.

@blizzzblizzz added this to the Nextcloud 19 milestone Mar 12, 2020
@blizzz
blizzzforce-pushed the enh/noid/ldpa_group_perf branch 2 times, most recently from ab9f13a to 7d1f0ceCompareMarch 15, 2020 22:11
This was referenced Apr 4, 2020
This was referenced Apr 15, 2020
@rullzer

Copy link
Copy Markdown
Member

@blizzz 19?

- less duplication
- profiting of the same cache entry
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
- saves some overhead costs
- in some occasions saves LDAP requests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Keep a runtime cache of dn-id-mapping
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
blizzzforce-pushed the enh/noid/ldpa_group_perf branch from 7d1f0ce to 090c59fCompareApril 17, 2020 14:02
@blizzz
blizzz marked this pull request as ready for review April 17, 2020 14:07
@blizzzblizzz added 3. to review Waiting for reviews enhancement and removed 2. developing Work in progress labels Apr 17, 2020
@blizzz
blizzzforce-pushed the enh/noid/ldpa_group_perf branch from 090c59f to a530f6dCompareApril 17, 2020 15:54

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🐘

@rullzerrullzer mentioned this pull request Apr 23, 2020
11 tasks
@blizzz
blizzzforce-pushed the enh/noid/ldpa_group_perf branch from a530f6d to 9f87a3fCompareApril 23, 2020 16:13

@rullzerrullzer left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

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 <blizzz@arthur-schiwon.de>
@blizzz
blizzzforce-pushed the enh/noid/ldpa_group_perf branch from 9f87a3f to 4babdc0CompareApril 23, 2020 19:34

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🐘

@skjnldsv

Copy link
Copy Markdown
Member

Failures seems unrelated

@skjnldsvskjnldsv 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 masterApr 24, 2020
@blizzz
blizzz deleted the enh/noid/ldpa_group_perf branch April 24, 2020 10:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishenhancementfeature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@blizzz@rullzer@skjnldsv@ChristophWurst