Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Is Spaces object storage a good solution for storing website and app static assets?
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.)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×