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

DT-1199: Increase azure signed url TTL to 1 hour #1906

Merged
merged 3 commits into from
Feb 12, 2025
Merged

DT-1199: Increase azure signed url TTL to 1 hour #1906

merged 3 commits into from
Feb 12, 2025

Conversation

snf2ye
Copy link
Contributor

@snf2ye snf2ye commented Feb 11, 2025

Jira ticket: https://broadworkbench.atlassian.net/browse/DT-1199

Addresses

The customer delivery team is running into timeout issues when downloading larger files via Azure signed urls. The current TTL (time to live) for the urls is 15 minutes. I think we can reasonably extend this to 1 hour (we already do this for snapshot export manifests). This will not solve all use cases, but we think it will get them most of the way.

Summary of changes

  • increase signed url TTL for files to 1 hour

Testing Strategy

  • None, but we should get quick feedback from customer delivery team

@snf2ye snf2ye requested a review from a team as a code owner February 11, 2025 18:57
@snf2ye snf2ye requested review from pshapiro4broad and fboulnois and removed request for a team February 11, 2025 18:57
Copy link
Contributor

@fboulnois fboulnois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -99,7 +99,7 @@ public class DrsService {
private static final String ACCESS_ID_SEPARATOR = "*";
private static final String DRS_OBJECT_VERSION = "0";
@VisibleForTesting static final Duration URL_TTL = Duration.ofMinutes(15);

static final Duration AZURE_URL_TTL = Duration.ofMinutes(60);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion: should we pull this out into an environment variable that can be changed? It may not be worth the effort.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea - but, given this is for Azure, I don't think it is worth the effort.

@snf2ye snf2ye merged commit 892f052 into develop Feb 12, 2025
14 checks passed
@snf2ye snf2ye deleted the sh/DT-1199 branch February 12, 2025 20:11
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

Successfully merging this pull request may close these issues.

3 participants