Skip to content

perf: make fetch_secrets use cache for performance#11201

Merged
shreemaan-abhishek merged 3 commits into
apache:masterfrom
shreemaan-abhishek:fix/use-cache
Apr 26, 2024
Merged

perf: make fetch_secrets use cache for performance#11201
shreemaan-abhishek merged 3 commits into
apache:masterfrom
shreemaan-abhishek:fix/use-cache

Conversation

@shreemaan-abhishek

@shreemaan-abhishek shreemaan-abhishek commented Apr 25, 2024

Copy link
Copy Markdown
Contributor

Description

The callers of fetch_secrets were not taking advantage of the lrucache feature, this has been fixed.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

moonming
moonming previously approved these changes Apr 25, 2024
@shreemaan-abhishek

shreemaan-abhishek commented Apr 25, 2024

Copy link
Copy Markdown
Contributor Author

the performance test failure is a CI problem that can be fixed later. It also fails in a dummy PR:
https://github.com/apache/apisix/actions/runs/8835882829/job/24261135078?pr=11203

@shreemaan-abhishek
shreemaan-abhishek merged commit 64b81c4 into apache:master Apr 26, 2024
@shreemaan-abhishek
shreemaan-abhishek deleted the fix/use-cache branch April 26, 2024 02:11
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