It seems that a folder cannot be created in a bucket. If there are a lot of files, is it inconvenient to manage and will it affect the efficiency of searching? What is the solution?

  question

It seems that a folder cannot be created in a bucket. If there are a lot of files, is it inconvenient to manage and will it affect the efficiency of searching? What is the solution?

On key-value storage system

Does Qiniu cloud storage support the concept of directories or folders?

The server of Qiniu cloud storage is a key-value system, not a tree structure, so there is no concept of “directory” or “folder”.

Among them, value is the file uploaded by the user to Qiniu cloud storage, and key is a user-defined string used to identify this value file at the server. A key corresponds to a value, so the key must be unique in each Bucket.

The key can contain 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 under directory c under directory b under directory a. In fact, there are no three directories A, B and C on the server, and it is impossible to create directories.