How to Optimizing AWS S3 File Downloads for Multiple Objects in a Single Request #682
Unanswered
arenas7307979
asked this question in
Q&A
Replies: 1 comment
-
Are you looking to use one S3 request to download multlple files, or a single function (which may make multiple requests to S3)? I don't know of any way to do the first option. The second is easier. There is a project https://github.com/soto-project/soto-s3-file-transfer which can be used to download multiple files concurrently to your filesystem. Also if you use the new swift concurrency versions of the S3 APIs it is fairly easy to download multiple files concurrently using TaskGroups |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I'm always frustrated when downloading multiple images from a specific folder in AWS S3 because the current implementation in my code uses one request per image, resulting in significant request consumption. I am looking for a better way to download multiple images efficiently within a single request.
Solution:
I would like to optimize the AWSdownloadFileFromS3 method to support downloading multiple objects in a more efficient manner. Ideally, I would like to download multiple objects using a single request to reduce the overall request consumption.
Alternatives:
I have considered exploring different approaches or techniques to achieve the efficient downloading of multiple objects from AWS S3 using a single request.
Additional Context:
N/A
Code:
Beta Was this translation helpful? Give feedback.
All reactions