A single client for multiple requests vs one client for each request #2606
-
Can a S3 client handle multiple requests in parallel? For instance, can a single client execute 10 getObjects calls simultaneously across different threads? Is this approach considered safe, or should each request be made using a unique client? If the first scenario is correct, what are the limiting factors that might affect the client's performance? Are there any upper limits to the number of requests the client can effectively handle? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@github-actions proposed-answer
Yes, the S3 client can handle multiple requests and it is considered safe. It is recommended to only ever use one client and to avoid using multiple clients.
The only limits is the network throughput and cpu. You should look into using the Please let me know if you have any other questions about this sdk. |
Beta Was this translation helpful? Give feedback.
@github-actions proposed-answer
Yes, the S3 client can handle multiple requests and it is considered safe. It is recommended to only ever use one client and to avoid using multiple clients.
The only limits is the network throughput and cpu. You should …