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

Add request-scope cache for reading entities #619

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Conversation

testower
Copy link
Collaborator

@testower testower commented Jan 13, 2025

Summary

Adds request scoped caching of entity lookups - should remedy some of the performance hit in graphql
queries introduced by #596. This also involves adding a separate interface for reading entities from the cache "EntityReader".

Improves query performance by an order of magnitude in initial testing

Issue

#614

@testower testower marked this pull request as ready for review January 14, 2025 13:59
@testower testower requested review from eibakke and hbruch January 14, 2025 13:59
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
65.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@testower testower merged commit 2a4c1f0 into master Jan 15, 2025
3 of 4 checks passed
@testower testower deleted the cache-entity-lookups branch January 15, 2025 09:06
github-actions bot pushed a commit that referenced this pull request Jan 15, 2025
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.

1 participant