By greghatzis
I’m considering moving from AWS S3 to Digital Ocean’s Spaces but I read in the documentation something that doesn’t make much sense to me for an object storage (at least for my use case) and I hope someone could clarify things:
In the documentation it says to avoid small files (less than 1MB) and the minimum optimal file size for best performance is 20MB. However in the case of static assets for websites and apps small files is what you want to have. A good case would be if all assets in a website are smaller than 1MB. So almost 99% of the uploads my users make is image files less than 1MB.
Then my app makes thumbnails of those images to make even smaller sized images to improve performance. Less file size = more speed.
So does this make Spaces not a good solution for my use case? If I was to use Spaces how would I do that efficiently with small files. (Other than combing them into one larger file.)
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!
Hey friend,
This is a popular use case and should be fine. I recommend enabling the CDN feature with it, especially if you see a high volume of traffic. There is some rate limiting that occurs at high request levels, and the CDN feature should take care of that.
Jarland
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.