How many files in a folder
How many files can be placed in a folder and not affect performance? My app is managing file uploads for users and they really aren't go to see the structure behind the scenes and it maybe easier to just dump all of the files in the root folder. Is there a limit to how many files can be placed in the root folder or any folder? If there are thousands or hundreds of thousands will that cause problems?
-
Thanks ! This was helpful. The only reason why I asked is because I am having trouble designing my app. Let me give you some background:
The part of my app that will use Box will be used as a storage for files. Think of this as a crude DAM. The users ingest files into the app. I seamlessly store them in Box and thus the users don't care how or where the files go they just need to access them later. I store the files by an internal ID known to my app and thus know how to retrieve them later.
Problem:
I tried using the search functionality to find the files but the 5 - 10 min delay until I can search doesn't work for me because the users could need the files right away after they ingest. The only way then to get the file is to traverse the folder structure. But because Box requires me to know the internal ID of the folders to get the content I have to "walk the tree". This is proving to be slow.
Question:
If I know the file name and full path by name only what is the fastest way to download the file?
投稿コメントは受け付けていません。
コメント
2件のコメント