brave / brave/go-sync

Introduce cold storage for saving storage costs

Open
#21 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
367
Forks
83
Avg merge
3d 8h
Merged PRs (30d)
4

Description

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/

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the soft-delete path and the DynamoDB persistence configuration in the Go server. Check how deleted items are represented and where TTL attributes can be set; done means soft-deleted items receive a 90-day TTL and existing behavior remains covered by the available tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
backend, cloud, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.