Background with MySQL or MongoDB database control, with go to accept HTTP requests. So the user's every move is under control. It's much easier to sync in different steps.

Source: Internet
Author: User
Tags http post

This does not require disk scan statistics, but rather the use of database statistics. This allows you to accurately record what files are available to the current user.

Two methods:

1. After the client uploads the file successfully, the HTTP post submits the database information. At least Apache backed, tens of thousands of per second is not a problem

For example, memory 2G, minus 500M left to the server, and 1.5G, then the maximum number of connections: around 8000:

Http://www.cnblogs.com/flyoo/archive/2013/05/31/3110499.html

If you switch to the go language, there's no problem.

2. The server does its own procedure, and once accepted, it fills in the database.

All operations rely on this server software, a little dangling. Moreover this server software also must write itself.

Background with MySQL or MongoDB database control, with go to accept HTTP requests. So the user's every move is under control. It's much easier to sync in different steps.

Related Article

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.