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.