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

feat (ldap): add worker pool for LDAP token group lookups #98

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

jimlambrt
Copy link
Collaborator

@jimlambrt jimlambrt commented Sep 7, 2023

We've added worker pool to make looking up token groups more performant. token groups have to be looked up individually, so if a user is a member of MANY groups it can be helpful to do these lookups concurrently vs serially. This is based on benchmarks and a subsequent implementation within vault's codebase for looking up token groups.

See: hashicorp/vault#22659

@jimlambrt jimlambrt merged commit 8e71bfc into main Sep 7, 2023
6 checks passed
@jimlambrt jimlambrt deleted the jimlambrt-ldap-token-group-optimization branch September 7, 2023 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants