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

feature: size limit on caching filesystem #510

Open
majidaldo opened this issue Dec 22, 2020 · 4 comments
Open

feature: size limit on caching filesystem #510

majidaldo opened this issue Dec 22, 2020 · 4 comments

Comments

@majidaldo
Copy link

It would be nice to set a limit on the size of the caching filesystems. This would truly enable 'set and forget' kind of work instead of having to manually go into the cache location to clear things out.

@martindurant
Copy link
Member

I can imagine such a feature, and wouldn't be too hard to implement. You would clear old files by timestamp, oldest first. On simplecache, it would mean having to list files occasionally; on other ones to keep the metadata up to date.

@JulioHC00
Copy link

Hi, is there any solution available now for limiting the cache size?

@martindurant
Copy link
Member

I'm afraid it seems no one has had a go at this yet.

@RoelantStegmann
Copy link

I agree that this would be very nice. I would like to add that in simple caching (so not block caching), it should also not even attempt to cache a file that is in itself larger than the cache size.

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

No branches or pull requests

4 participants