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

Warn when cache computation is cheaper than cache retrival #2559

Open
pi0 opened this issue Jun 24, 2024 · 0 comments
Open

Warn when cache computation is cheaper than cache retrival #2559

pi0 opened this issue Jun 24, 2024 · 0 comments

Comments

@pi0
Copy link
Member

pi0 commented Jun 24, 2024

(From question by @InstantlyMoist in #2558)

In development mode, we can detect situations when cache computation is cheaper than storing and retrieving it to warn users about it. It is not a precise prediction though because in production (when cache might be stored externally to disk or a remote server and database/server load is heavier than single user local/staging, the cache would make sense so maybe if we do it, we should do it for dev and prod)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant