It seems that a folder cannot be created in a bucket. If there are many files, it is not easy to manage and will it affect the search efficiency? What are the solutions?

Source: Internet
Author: User
It seems that a folder cannot be created in a bucket. If there are many files, it is not easy to manage and will it affect the search efficiency? What are the solutions? It seems that a folder cannot be created in a bucket. If there are many files, it is not easy to manage and will it affect the search efficiency? What are the solutions?

Reply content:

It seems that a folder cannot be created in a bucket. If there are many files, it is not easy to manage and will it affect the search efficiency? What are the solutions?

Key-value Storage System

Does qiniu cloud storage support the concept of directory or folder?

The server of qiniu cloud storage is a key-value system instead of a tree structure. Therefore, there is no concept of "directory" or "folder.

Here, value is the file that you upload to qiniu cloud storage, and key is a user-defined string used to identify the value file on the server. A key corresponds to a value. Therefore, the key must be unique in each Bucket.

The key can contain the slash "/", which makes you feel like a directory structure. For example, the key "a/B/c/d.txt" corresponds to only one file on the server, but it looks like the file d.txt in directory c Under directory B under directory. In fact, there are no directories a, B, and c on the server, and no directory can be created.

Specify the file name as 'a/B/c/d.jpg 'and manage it by prefix.
The synchronization tools qrsync and qrsbox process folders in this way.

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.