vue-dropzone icon indicating copy to clipboard operation
vue-dropzone copied to clipboard

parallelUploads usage in S3

Open batmanhit opened this issue 6 years ago • 1 comments

If I have set parallelUploads as 10 and I drag & drop 1000 files in the dropzone, then all of the requests for 1000 are submitted to the backend & s3 bucket and I can see them on the Network tab of the browser.

What's the exact usage for parallelUploads?

Can I control how many requests should be stacked at once?

It creates 1000 requests to the backend(to get the sign url) and 1000 other requests to the s3 bucket. If you count OPTIONS & POST then it would reach up to 4000 requests pending in the stack.

And the backend should have to deal thousands of requests at a moment.

Is there any workaround for this?

batmanhit avatar Feb 07 '19 14:02 batmanhit

Hi @batmanhit

If you're uploading to S3 then I don't think parallelUploads has any effect as it's our hand-rolled implementation.

There isn't workaround at the moment

Cheers Rowan

rowanwins avatar Feb 08 '19 03:02 rowanwins