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

Implement memory caching for deserialized libary content #234

Conversation

monsieurswag
Copy link
Contributor

The response time of /api/libraries was 2930ms it's now 18ms.
Only the first request to /api/libraries takes ~3000ms but all the following requests will take ~20ms with this caching mechanism.

Copy link
Collaborator

@eric-intuitem eric-intuitem left a comment

Choose a reason for hiding this comment

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

LGTM. Nice quick-win!

@eric-intuitem eric-intuitem merged commit 1927c90 into main Apr 9, 2024
10 checks passed
@eric-intuitem eric-intuitem deleted the CA-358-Implement-memory-caching-for-deserialized-library-content branch April 9, 2024 13:10
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants