Should we use Spaces or Droplet SSD to serve many small images?

July 30, 2019 449 views

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 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.

1 Answer

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:

Everything is explained in details - advantages, disadvantages and brief explanation of each type of storage.


by Brian Boucheron
Flexible and scalable data storage is a baseline requirement for most applications and services being developed today. With today's complex deployments, containers, and ephemeral infrastructure, the days of simply saving files to disk on a single server are gone. Cloud providers have developed services to fill the storage needs of modern application deployments, and they mostly fit into two categories: object storage, and block storage.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!