-
Notifications
You must be signed in to change notification settings - Fork 52
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
Introduce cold storage for saving storage costs #21
Comments
PR reverted in #23 |
As pointed out in the reverted PR, we cannot simply delete them directly because it Good news here is when client committing a delete, they will remove specifics |
Another thought is that we can always set TTL when creating/updating the item, and put them into cold storage when that expired. And of course we need to be able to get those items back when needed by our server. |
We could also consider saving specifics binary in S3 instead of directly in Dynamo too. |
To save storage cost, we are going to set the TTL attribute to 90 days away when we're soft-deleting an item so it will be automatically deleted by dynamoDB without extra cost.
cc @jsecretan
ref: https://aws.amazon.com/blogs/aws/new-manage-dynamodb-items-using-time-to-live-ttl/
The text was updated successfully, but these errors were encountered: