Motivation
So we don't rely on file system based storage that slows down or crashes the app for large queries.
Requirements
- A ValKey service is added to our dev, self-host, and production environments.
- Next is configured to store data cached with
unstable_cache in ValKey.
- A maximum entry size is set to prevent extremely large queries from being cached.
Acceptance Criteria
- Include the output of
mask tf plan in the PR, and run mask tf apply only after the PR is approved.
- Justify the maximum entry size with some napkin math.
Extra work
- Instrument ValKey to report cache hits/misses somewhere. Neither Honeycomb, nor Sentry support ValKey as a data source. So this might be tricky.
Motivation
So we don't rely on file system based storage that slows down or crashes the app for large queries.
Requirements
unstable_cachein ValKey.Acceptance Criteria
mask tf planin the PR, and runmask tf applyonly after the PR is approved.Extra work