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

Glacier support #125

Open
BuGlessRB opened this issue Jun 15, 2020 · 3 comments
Open

Glacier support #125

BuGlessRB opened this issue Jun 15, 2020 · 3 comments

Comments

@BuGlessRB
Copy link

I'm trying to use scaleway S3, and it supports pushing objects to glacier state, and retrieving them from glacier state.
I'd like to implement two things:
a. Support in S3 backer that when it notices that an object is in glacier state (and thus cannot be retrieved), it should retry the request, but now adding instructions to retrieve it from glacier state to standard state. After that it should periodically retry fetching the object until it has been restored from glacier to standard state (after which the object will be returned).
b. Have s3backer decide (depending on hot-ness of the object) when to push it into glacier state at writing.

a) should be easy. b) might be easy after a related cache-management split into three LRU queues.

@archiecobbs
Copy link
Owner

Seems like (a) would be useful but instead of implementing (b) maybe a better approach would be to rely on S3 Lifecycle policies to move cooler data into Amazon Glacier.

@BuGlessRB
Copy link
Author

BuGlessRB commented Jun 15, 2020 via email

@archiecobbs
Copy link
Owner

I'm not convinced the savings would be worth the trouble... but of course, that's an opinion that will differ from person to person depending on usage patterns and how many pennies you're trying to pinch.

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

2 participants