Our website contains > 500k small (< 1mb) images and we want to achieve the best possible performance when serving them. Many of them are thumbnail pictures for search results similar to the images that appear when you search on imdb.com. We are currently using Spaces and its CDN for these images, but we read that Spaces is designed for storing and serving moderate to large files. Would we be better off just using our droplet’s SSD for the images? We are also using Cloudflare for caching.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello, stevenz
I’ve used both and to be honest both have advantages, basically it’s totally up to you and your needs. In your case you’re using space to host the images of your website.
If the images are taking a lot of disk space you can keep them separate from the website’s droplet.
Spaces are using object storage and the droplets rely on block storage. (someone can correct me if I’m wrong)
You can follow this article: https://www.digitalocean.com/community/tutorials/object-storage-vs-block-storage-services
Everything is explained in details - advantages, disadvantages and brief explanation of each type of storage.
Alex