I am implementing upload file using AWS S3. the file that I want to upload is average 500 Mb. The process of uploading (using filesystem AWS S3) is synchronous. So when one user uploads big file, others people cannot access the website until the user finished uploading progress. How to make it asynchronous?
Basically, I have two issues:
- Uploading large files in chunks so that other people can use the website
- Uploading it asynchronously.
the command I used to handle upload is:
Storage::put('preview_image/'.$file_name, $file_preview_image_1, 'public');