Skip to content

Add caching layer #3

@mjirv

Description

@mjirv

As a user I want my queries to be lightning fast and am often willing to tolerate a small chance that the data will be slightly out of date.

To solve, implement a caching layer that:

  1. Allows the user to configure a cache expiration time as an env variable, and uses a reasonable default if none is given (say, 1 day)
  2. When a query comes in, checks if it has been run within the expiration window
  3. If so, use a cached version of the results and avoid hitting dbt at all
  4. Queries should have an optional parameter to force no cache for cases when the user really wants the latest data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions