Large File Upload Solution

Source: Internet
Author: User
Tags jquery file upload
The traditional HTML method has been difficult to meet the large file upload. Don't say it is 100MB,50MB to the server is very large, service not only to open a link waiting for this file upload complete, but also to allocate the same size of memory to save the file on the server to the pressure is quite large.

In a real-world network environment, files around 10MB need to be implemented using controls. On the one hand because the domestic network environment is not very stable, on the other hand, from the server load considerations.

Like QQ mailbox in the super-large attachment upload function, 115 network disk in the large attachment upload control, Huawei Network Disk (Dbank), Jinshan fast disk they are all using the control to achieve large file upload function.

They use a control to divide a large file, such as 1G, into small chunks, each of which is about 128KB, and then loop through the upload until it is finished uploading.

Each server receives a small chunk, which is equivalent to receiving a separate file, which is written directly to the hard disk. Finally, put together all the documents that were accepted.

The advantage of this is to reduce the pressure on the service side, improve the load capacity of the service side, so that the server can handle more user requests.

jquery file Upload is a jquery image upload component that supports multiple file uploads, cancellations, deletions, and breakpoints, pre-upload thumbnail previews, list display image sizes, support for upload progress bar display, and server-side support for various dynamic language development.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.