A bucket inside can't seem to set up a folder, so many documents, not easy to manage and will affect the search efficiency? What are the solutions?
Reply content:
A bucket inside can't seem to set up a folder, so many documents, not easy to manage and will affect the search efficiency? What are the solutions?
About Key-value Storage Systems
Does the seven Qiniu store support the concept of directories or folders?
The service side of the Qiniu storage is a key-value system, not a tree structure, so there is no concept of "directory" or "folder".
Where value is the file that the user uploads to the seven Cow Cloud store, key is a user-defined string that is used to identify this value on the server. A key corresponds to a value, so in each space (Bucket), the key must be unique.
Key can contain a slash "/", so that you feel like a directory structure, such as "a/b/c/d.txt" This key, only one file on the server, but it looks like a directory under the B directory under the C directory of the file d.txt. In fact, the server does not exist in a, B, c three directory, and can not create directories.
Specify the file name as a form of ' a/b/c/d.jpg ' and then manage it with a prefix.
This is how the Sync tool qrsync and Qrsbox folders are handled.