Upload in chunks. Plenty of previous discussions on this.
Sep 5, 2024
4
Level 1
[DISCUSSION] Implement massive upload images features
Hello everyone,
I was wondering what is the best way to implement masssive upload images ?
For exemple, user need to be able to upload like 500 images with high resolution (let's say 20 Mo/image for exemple) and then you need to store it on a S3.
Here the possibilities i found :
- Traditional way and increase the post_max_size / upload_max_filesize php config but still it will take too much time and result to timeout in the some cases and not optimal
- Signed Url : User only upload meta-data of the 500 images and the app generate 500 signed URL that we gonna use to upload on the front-end (javascript) . Quiet good option but if the user has an issue with the S3 signed url the app is "blind" and not seems to have good tracability for errors.
If you were to implement this feature, what would you do?
Thank you ! Cheers !
Please or to participate in this conversation.