Akshat Choudhary
Akshat Choudhary

Reputation: 85

Reduce upload time to aws s3 bucket

I am uploading some files to an s3 bucket using Java. The size of each file is very less (~ 2KB). However the number of files is very large (~ 1 Mil). Due to this the upload takes a lot of time, around 2-3 hours. Is there anyway to reduce the upload time? I use the putObject method for each file.

Upvotes: 0

Views: 524

Answers (1)

Shubham Jain
Shubham Jain

Reputation: 5536

There are no methods in AWS directly to run your workloads in parallel. Instead take a look at Java multithreading and process your upload function concurrently: Multithreading in java with examples

Upvotes: 2

Related Questions