Question

Should I use droplets, volumes or spaces?

I currently have a web server, which does everything. I would like to split it among different services to lighten the load:

  • main web server (db, html generation)
  • CDN for js, css, images, downloads (some may need to be generated on the fly then be cached)
  • user file upload / processing server (to take load off of main)
  • user file storage / CDN (or part of above server)

What are your recommendations of which Digital Ocean (or other) products that I should use for this?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

anyone have another answer?

We use two Droplets, one for the web server running Laravel, one for the MySQL database. The web server is with 8GB RAM and 160GB storage and that works out fine for our web application and customer data.

The database can be done managed with Digital Ocean, but we decided to manage it ourselves using a Droplet as well. We have a 2GB 60GB Droplet. With the server in your own network with only access to it by the web server that works just fine.

We did try Spaces to store our customer static data as images, videos, and CSS. we however ran into rate limiting issues. Partly because there were issues with backups and cached data being removed, but also because DO’s rate limiting is … really limiting and to read, write, edit image data you tend to need a lot of requests or a more complicated caching in between to avoid too many requests, which is hard to accomplish.

We do now use Spaces for backups still and that work well after some tweaking, but we dropped using it for media management for now. Too many issues and too little support. Frankly feels like Spaces is not getting much priority with Digital Ocean.

If we do need more storage for our customers in the future we may use another Object Storage provider like Wasabi or simply add a volume to the main web server. The latter won’t run into rate limiting issues as it is just an additional hard disk and it works pretty well too.