Skip to content

Implement caching layer for runtimeconfig package #14586

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

Open
Emyrk opened this issue Sep 6, 2024 · 0 comments
Open

Implement caching layer for runtimeconfig package #14586

Emyrk opened this issue Sep 6, 2024 · 0 comments
Labels
multi-org temporary label for multiple organizations related work need-backend Issues that need backend work

Comments

@Emyrk
Copy link
Member

Emyrk commented Sep 6, 2024

The runtimeconfig package does a db query for each config value read.

A caching layer should be implemented with a pubsub notify on updated values. This would make runtimeconfig essentially an in memory lookup, and allow using it's fetches in hot paths.

Things like GetLogoURL are queried on every page load. This is a mostly static value that could be cached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multi-org temporary label for multiple organizations related work need-backend Issues that need backend work
Projects
None yet
Development

No branches or pull requests

3 participants