Closed Bug 1865415 Opened 1 year ago Closed 4 months ago

consider dropping expiration for /try from 28 days to something lower

Categories

(Tecken :: General, task, P2)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: willkg, Assigned: sven)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

/try symbols are ephemeral and it's probably the case they're not used for very long. We currently have a 90-day expiration for those files. However, if they're only used for very long, then we shouldn't keep them for 90 days.

This covers adding some metrics to capture the age of symbols files from /try in weeks (0 weeks, 5 weeks, etc) so we can get a better idea for how long they're used for.

If we can figure this out now and we can reduce the expiration, that could simplify the S3 -> GCS sync step for the GCP migration. Ergo we should do it soon.

Blocks: 1687804
Assignee: nobody → sven
Status: NEW → ASSIGNED

This went out just now in bug #1869351.

Sven: Can you add a panel to the Tecken App Metrics dashboard?

Flags: needinfo?(sven)

Unfortunately, I can't add a proper histogram to Grafana. I'll try and figure out whether we can use Flux for the queries, as suggested at the linked page.

Alternatively, I could plot 50th, 95th and 99th percentile of the age distribution, which would probably be a good enough solution.

Flags: needinfo?(sven)

I added the percentile graphs, and I think they are fine. All try storage downloads that happened so far had a file age of zero days.

Those graphs seem fine to me, too. Thank you!

After collecting the data for one week, there have been around 20 downloads for files from try storage, and approximately 3 of them were one day old. The rest was zero days old. It looks like downloading files from try storage isn't very popular, and if it does happen the files are fresh. To get a decent amount of data, we should wait a couple of months. I'll keep this bug open.

Per a conversation on January 23rd, you said that objects in try/ are expired after 28 days.

Given that, we're not keeping try symbols for 90 days (I think I got this number from the Tecken GCP project plan after it had been copied/pasted for years of GCP project plans, but we changed it at some point) and we should update this bug and close it as WONTFIX.

It's currently set to 28 days with Tecken in AWS. It'll be 28 days when we migrate Tecken to GCP. We don't want to drop it further. Given that, marking this as WONTFIX.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → WONTFIX
Summary: consider dropping expiration for /try from 90days to something lower → consider dropping expiration for /try from 28 days to something lower
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: