-
Notifications
You must be signed in to change notification settings - Fork 0
Add local disk cache for remote data chunks #99
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
9c95a15
Update Ansible deployment to allow for unprivileged deployment using …
maxstack c98d16a
WIP: cached crate experiments
sd109 99e61ba
Add Bytes serde feature
sd109 df2ed74
Functional disk cache implementation
sd109 0d70386
Add prometheus counter for cache misses
sd109 f809321
Ensure client ID is included in chunk cache lookup key
sd109 d9dfd2d
Refactor to allow reinstating resource manager
sd109 528d532
Update the podman installation play to enable linger on the unprivile…
maxstack f3b994d
Allow Prometheus and HAProxy to be installed as the non-privileged user.
maxstack 8fb4a95
Implement an object chunk cache on disk where we can configure:
maxstack 2882c47
Refactor the chunk cache so it stores each chunk in a separate file.
a414f0c
Add example of simplified cache implementation
sd109 3e6ed6d
Add SimpleChunkCache pruning, with tests, and integrate with the Redu…
maxstack 37f0c95
Remove unneeded dependencies, added during development of the caching…
maxstack 4715e3e
Provide a S3 download handler and a cached S3 download handler with t…
maxstack 5d408c8
Panic if the cache directory already exists.
maxstack c549b29
Remove test portion relating to cache wipe on init.
maxstack 979d8a3
Channel all cache commits through a mpsc channel to serialise commits…
maxstack 04e1f55
Allow configuration of the pruning interval, in seconds, of cache chu…
maxstack 91eb805
Make "cargo clippy" happy.
maxstack c405c84
Merge remote-tracking branch 'origin/feat/disk-cache' into deployment…
maxstack 4cb4ae8
Configure chunk cache test deployment.
maxstack 093e9e4
Deploy a local build of the Reductionist.
maxstack ec5464a
Update Reductionist tag.
maxstack 416cce3
Tweak what I think I think is needed to deploy our local build.
maxstack 6fa2203
Correct the volume setup for the chunk cache.
maxstack 46a3162
Tweak Reductionist deployment in group vars.
maxstack 4b34f33
Tweak the Reductionist's ansible build so we can:
maxstack cfcbaf3
Allow the tokio mpsc buffer size to be configured, the number of chun…
maxstack 0486393
Merge branch 'feat/disk-cache' into deployment/test
maxstack 07e5e60
Add the chunk cache queue size to the group_vars.
maxstack 15e3e60
Merge branch 'deployment/test' of https://github.com/stackhpc/reducti…
maxstack 53d2a4e
Print out our command line args.
maxstack 988e196
Add "headroom_bytes" to the pruning so we can ensure this many bytes …
maxstack a00c942
Tidy up adding code documentation.
maxstack 72fc70a
Change over to tempfile::TempDir for temporary directory creation due…
maxstack 9e4d08a
Change boolean assert_eq to assert to keep clippy happy.
maxstack 4902ae1
Remove dupplicated cache error.
maxstack b20e193
Debug trait no longer needed on ResourceManager.
maxstack 36a655e
Merge remote-tracking branch 'origin/main' into feat/disk-cache
maxstack cd6876b
Add chunk cache configuration to group_vars/all.
maxstack f1659c8
Fix for group_vars/all
maxstack 9a7023e
More sensible default for the cache path that works with our without …
maxstack 063a084
Misc fixes
sd109 e0c911b
Re-adopt an existing cache.
maxstack 71b18de
Fix broken resource manager memory permits implementation
sd109 1bad961
Add S3 client auth check to cached object
sd109 195e663
Run compliance suite with cache enabled as part of CI test suite
sd109 b7f7201
Add chunk_cache_bypass_auth flag
sd109 d394384
Merge branch 'main' into feat/disk-cache
sd109 06286b2
Update documentation inline with the chunk cache additions
maxstack 43fa08f
Fix minor typos
sd109 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.