By Bungol
I need to store a large number of folders in spaces, up to 1-2 million. I can break them down into more sub-folders, but I’d rather not if possible.
My question is, if I have 2 million sub-folders within a single folder, will that slow down retrieval time of the files within those sub-folders?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The way that object storage generally works is that folders are simply tags or categories applied to each object. The object is not physically or programatically any more difficult to access for the underlying system. While all these subfolders in a single folder would result in needing to make several requests to receive the listing for that parent directory it should not affect the speed at which individual files are retrieved and served.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.