Seven Qiniu Storage has a unique feature that allows users to upload files directly from the client to the cloud server

Source: Internet
Author: User

At present seven cattle already have thousands of customers, you will find many of them are like know, Weico, Camera360, Mei 美图秀秀, Cicada travels and Vida such as UGC (user-generated content) category products, especially in the field of photo-Exchange. This is because, in addition to what I said earlier that "cloud storage" is more cost-efficient than traditional solutions, the seven Qiniu storage has a unique feature that allows users to upload files directly from the client to the cloud server. Because I've seen the Cicada travels. CTO quake wrote about this feature, so he made a direct reference to his original text to illustrate:

Common cloud storage upload file flow is as follows:

Users = Application Server + cloud storage provider

This is an upload process that is relatively slow compared to local storage.

And seven cows provide the function of the client autobiography, the process can be changed to:

user = Seven kn = Application Server

Users directly uploaded to the server seven, through the DNS intelligent resolution, seven cattle will choose the nearest most suitable ISP node, the speed will be much faster than the original, after uploading successfully, seven cattle server use callback function, only need to send very little data (such as key) post back to the application server, The application server can be saved.

Developers who want to use this feature only need to add the relevant SDK in the product, in addition, seven also provides the "Upload acceleration" service in the architecture, which can provide users with intelligent selection of the nearest data center and the fastest line for data upload, so as to achieve the best upload speed. The challenge with this technique is to ensure data consistency across data centers, and I'll elaborate on the importance of this approach in the article "What is Facebook's greatest technical achievement?"

In addition to speed, developers generally care about two other issues: the security of data and the cost of migrating data.

In terms of security, seven of cloud storage currently uses 3 copy backups and multi-datacenter backups to ensure security against data loss and prevents data theft by combining data chunks across multiple servers, among other security measures.

On the migration cost, the seven Qiniu Storage has developed several tools to help users with data migration:

1. Mirrored storage. It can passively fetch the original station data without changing the original station data, and save the data on the seven Cow cloud storage.

2. Upload the tool. Ability to synchronize all files in the local directory and its subdirectories directly to the server cloud.

3. Timing Sync Tool. Developers can set the timing to detect changes in local files, and synchronize the changes to the section, but also set the sync Delete.

In addition to the above 3 tools, they also provide migration services for large data imports via hardware. Unlike other cloud storage services, however, the seven Qiniu storage is not compatible with Amazon S3, so migrating products using Amazon S3 Services can be a bit trickier.

Of course, in addition to speed, stability and migration costs, in order to better serve developers and compete in the market, today's cloud storage vendors are also beginning to provide some lightweight PAAs services on the underlying cloud storage services. For example, seven cows provide cloud-based processing services for rich media content such as images and audio and video, such as video-based cloud storage, which introduces transcoding and interception tools for audio/video, while enabling them to support more than 100MB of video storage. They also provide debugging tools for developers in a number of development environments.

As a start-up company, seven of cows are growing fast in two years, but their numbers are not proportional to it-so far, about 40 people, 90% of whom are technicians. Seven bulls also want to improve the productivity of each employee by technical means, such as automating the operation and maintenance of the system to keep the team refining. They put their current focus on the expansion of service capabilities-seven of cattle already have more than 500 acceleration nodes nationwide, and the financing they received at the end of 2012 will allow them to implement the plan better this year.

http://developer.qiniu.com/

Upload process

In seven cow cloud storage, the entire upload process is broadly divided into these steps:

    1. Business Server issues upload voucher to client (end user)
    2. Client uploads files to seven kn with upload voucher
    3. After the seven KN obtains the complete data, initiates an HTTP request callback to the Business Server
    4. Business Server saves information and returns some information to seven KN
    5. Seven cows will forward this information to the client (end user) intact

It is important to note that the process of callback to the business Server is optional and depends on the upload credentials issued by the Business Server. If there is no callback, seven cows will return some standard information (such as the hash of the file) to the client. If the upload occurs on a business Server, the above process can naturally be simplified to:

    1. The Business Server generates upload credentials (without setting a callback, it doesn't make sense to call itself back here)
    2. Upload documents to seven kn with upload voucher
    3. Rehabilitation work, such as saving some relevant information

Http://developer.qiniu.com/docs/v6/sdk/c-sdk.html

Http://www.gougousoso.com/u/yun/8.html

Seven Qiniu Storage has a unique feature that allows users to upload files directly from the client to the cloud server

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.