Massive File Upload Storage solution _ Solution

Source: Internet
Author: User
Tags domain server

As a mass file upload storage solution requires the following requirements

1, high scalability (easy to add server).

2, ease of use.

3, high reliability.

4, flexibility, low maintenance costs.

There may be many kinds of solutions, as follows is a solution



Two of these services (for example: WEBSERVICE,WEBAP) are used for file upload of read-write separation, a server cluster, two server and file information tables.

When a client wants to upload a file to the storage service, the service randomly selects the server that is running properly by looking for the state of the server in the File Server state table. Write the file and then write the information stored in the file to the File information table, and finally return the information to the client.

When the client wants to download the file, get the file service to download to the client by looking for the file information table and then reading the file to which server it is stored, and then using the File Server state table to locate the server to read the file.


In this solution, if you want to ensure stability also need to backup the server stored files, you can write a service for file backup, this should be done according to the actual situation. Then read and write services to do pressure streaming, you can use the operating system for service cluster deployment.

This involves a cross domain server operation file

1, the shared folder, the service is relatively simple, directly with the IO stream to write on the line, but the path to change the problem. To ensure security, the server cluster is added to a domain (domain control).

2, on the cluster server to write a service, with the socket (TCP) to store files.

3, FTP implementation of storage.

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.