-
Notifications
You must be signed in to change notification settings - Fork 105
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
redis driver for blob cache information and metadb #2865
base: main
Are you sure you want to change the base?
Conversation
this is awesome work. thank you. i wish i could finish this but company needs put me elsewhere. will be super excited to use this feature when it is ready. I wanted to note a few things, since i see some notes in your PR.
|
@andaaron thx for taking this up |
With regards to this specific point, we have a misunderstanding. The role of the cache driver is to store information on what blob was deduped and and where are the duplicates. The role of metadb is to store information taken from manifests, as well as other metadata about manifests, repos, and users. We wouldn't be using it to store and serve the actual image blobs, that is a separate storage implementation, where we support local folders and S3. |
2651e26
to
b82e496
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2865 +/- ##
==========================================
- Coverage 91.90% 90.49% -1.41%
==========================================
Files 170 172 +2
Lines 30291 32246 +1955
==========================================
+ Hits 27838 29181 +1343
- Misses 1825 2300 +475
- Partials 628 765 +137 ☔ View full report in Codecov by Sentry. |
4f0eb30
to
68f3926
Compare
Just commenting here; we'd love to move to Zot at Railway.com for our Cloud+Baremetal clusters. This, we believe, would be the last thing blocking us Would love to help get it across the line in any way we can |
16cf7bf
to
aabb483
Compare
Currently, we have dynamoDB as the remote shared cache but ideal only for the cloud use case. For on-prem use case, add support for redis. Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
Signed-off-by: Alexei Dodon <adodon@cisco.com>
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
- add missing method GetAllBlobs - add redis cache tests, with and without mocking Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
…s DB Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
Rebased #2412 and continued work on missing method implementation for cache driver, and implemented MetaDB methods.
Still need to:
run lintermake sure all existing tests passcache driverBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.