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

Backport of reduce calls to DetermineRoleFromLoginRequest from 3 to 1 for aws auth method into release/1.14.x #22596

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #22583 to be assessed for backporting due to the inclusion of the label backport/1.14.x.

The below text is copied from the body of the original PR.


The main purpose of this PR is to reduce calls to c.DetermineRoleFromLoginRequest in order to reduce the latency of login requests.

Benchmarking results:
Main mean: 704.492117ms:
image

Main with changes from PR mean: 341.443427ms:
image

Vault v1.10.4 mean: 180.187269ms:
image


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/reduce-role-resolves-part1/strongly-simple-kingfish branch from a360f12 to 5e2ecdd Compare August 28, 2023 21:37
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/reduce-role-resolves-part1/strongly-simple-kingfish branch from ad29c9e to 3ac2141 Compare August 28, 2023 21:37
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Aug 28, 2023
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

@elliesterner elliesterner added this to the 1.14.3 milestone Aug 28, 2023
@elliesterner elliesterner merged commit 4926887 into release/1.14.x Aug 28, 2023
91 of 92 checks passed
@elliesterner elliesterner deleted the backport/reduce-role-resolves-part1/strongly-simple-kingfish branch August 28, 2023 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants