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

S3FS slows down Docker build #42

Closed
jtherrmann opened this issue Dec 2, 2024 · 1 comment
Closed

S3FS slows down Docker build #42

jtherrmann opened this issue Dec 2, 2024 · 1 comment
Labels
Jira Bug Create a Jira Bug for this issue

Comments

@jtherrmann
Copy link
Contributor

jtherrmann commented Dec 2, 2024

Jira: https://asfdaac.atlassian.net/browse/TOOL-3333

Note: The above link is accessible only to members of ASF.


The s3fs dependency adds about 15 min to the time it takes to solve the mamba environment when building the Docker container (timed on my t3.2xlarge EC2 instance). Without this dependency it builds very quickly.

This may be due to s3fs using strict version pinning for its own dependencies, and/or due to the particular combination of dependencies in our environment file. We haven't investigated to determine which part of the dependency graph is taking the longest time to solve.

A possible solution is to use a lock file tool such as conda-lock or pixi.

Another possibility is to abandon direct S3 access, but we haven't determined how much of a performance impact that would have. We're using s3fs to only load the parts of the file that we need, rather than downloading the entire file.

@jtherrmann jtherrmann added the Jira Bug Create a Jira Bug for this issue label Dec 3, 2024
@jtherrmann
Copy link
Contributor Author

No longer seeing this issue for https://github.com/ASFHyP3/OPERA-DISP-TMS/actions/workflows/test-and-build.yml or when creating the mamba env locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jira Bug Create a Jira Bug for this issue
Projects
None yet
Development

No branches or pull requests

1 participant