8000 Implement caching layer for `runtimeconfig` package · Issue #14586 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Implement caching layer for runtimeconfig package #14586
Open
@Emyrk

Description

@Emyrk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    multi-orgtemporary label for multiple organizations related workneed-backendIssues that need backend work

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0