How can browsers upload 10,000 pictures quickly?

Project requirements:
you need to upload pictures on the web page on the PC. There are at least 10,000 pictures uploaded at a time, and receive the processing results of the background after all the images have been uploaded.

the way I practice:
by getting the files attribute of the input tag, but common browsers can"t select more than 5000 images at once. Even if 5000 images are uploaded at one time, the upload will fail due to the restriction of http. If the timer is used to upload, the browser may crash inexplicably due to a large number of http requests


do not upload through the web page. You should write an upload tool separately. Use node or java to read the files on disk directly, and then upload them. Not to mention 10,000, 100 million are all fine


this kind of files should be directly packaged and uploaded together, so as to avoid a long upload time leading to process failure. You can try multipart upload for large files. Agree on a regular zip file and write a scheduled task to decompress the package.


Why use webpage to upload, FTP,rsync


how to say this

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44ee3-59b41.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44ee3-59b41.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?