-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ENH] Disk and memory-backed cache with Foyer 0.10. #2890
Merged
Merged
Commits on Oct 1, 2024
-
[ENH] Disk and memory-backed cache with Foyer 0.10.
The lfu/lru/weighted_lfu caches didn't initialize a hybrid cache. This PR rewrites the chroma_cache crate to hide implementation details of the cache as much as possible. Noteworthy callouts from this PR: - We don't currently support cleaning up of tempfiles evicted from cache. This is status-quo. - cops-disk-cache-config-writer and cops-memory-cache-config-writer provide command-line arguments to generate the YAML for the Foyer cache. - Cache<K, V> is a trait. PersistentCache<K, V> allows for requiring persistence. All PersistentCache<K, V> can be cast to Cache<K, V>.
Configuration menu - View commit details
-
Copy full SHA for 0db390e - Browse repository at this point
Copy the full SHA 0db390eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1b7cf3 - Browse repository at this point
Copy the full SHA a1b7cf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb66221 - Browse repository at this point
Copy the full SHA bb66221View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef8ec62 - Browse repository at this point
Copy the full SHA ef8ec62View commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6c89b15 - Browse repository at this point
Copy the full SHA 6c89b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34e6f94 - Browse repository at this point
Copy the full SHA 34e6f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c3207 - Browse repository at this point
Copy the full SHA 19c3207View commit details
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4783d70 - Browse repository at this point
Copy the full SHA 4783d70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c06dd - Browse repository at this point
Copy the full SHA 26c06ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8554615 - Browse repository at this point
Copy the full SHA 8554615View commit details -
Configuration menu - View commit details
-
Copy full SHA for e060251 - Browse repository at this point
Copy the full SHA e060251View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.