By stevenz
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.
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!
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
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.