project-zot / zot

zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification)

Home Page:https://zotregistry.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feat]: redis backend for dedup cache

elee1766 opened this issue · comments

commented

Is your feature request related to a problem? Please describe.

i would like to use something that is not dynamodb as a distributed dedup cache.

Describe the solution you'd like

redis seems like a good candidate for this. there was already a dependency for redis in the package, so i felt it was a good choice.

Describe alternatives you've considered

No response

Additional context

No response

@elee1766 is this for a cloud deployment use case?

commented

yep!

I plan to combine this with the s3 storage

I am also currently working on the ability to use s3 storage with the sync backend.

my use case is to use zot as a proxy to balance between two identical container registries. I would like the cached images to stay existent between runs without configuring persistent storage. currently there's like a long delay on first pull which I would like to avoid.

ideally I am trying to host a distributed zot cluster using a PAAS platform, like heroku, fly, digitalocean app engine, etc. they all support redis but not dynamo since that's aws only