F2ddd8b6f82b57a10f6da2f1afd9423025a5710f
By:
eodjared

Digital Ocean Spaces Object Storage slow on retrieving objects

December 18, 2017 478 views
Object Storage Ubuntu 16.04

We switched from our custom block storage solutions for object storage and we're disappointed in the speed. Is there anyway we could retrieve objects asynchronously? Also some objects that are around 50 KB can take from 57 ms to 3 seconds... Will there be any improvements to have more consistent speeds?

Image of Chrome Dev. Tools

1 comment
  • I'm interested in seeing S3's performance for the same files. To the OP, if you can do a test of retrieving similar files using S3 or another object storage service, that'll be a great way to see if DO's Spaces is worth using.

4 Answers

I don't know how to improve your situation but I will just add that I had very similar results. Just wildly inconsistent from quick to seconds.

It doesn't feel designed for small files at all, I think the primary target is files that would take a minute or more, so the slow initial responses wouldn't really be felt.

Same problem, with small image it still took a lot of time to load. Waiting for improvements !!

Update from DigitalOcean:

"Our Spaces team are aware of some possible performance bottlenecks and are working on addressing those."
- Mike G., Platform Support Advocate

@eodjared Thanks for sharing this.

As Mike on our support team said, we are working on improving the performance and reliability of Spaces. That being said, Spaces is not meant to be used as a CDN and the performance won't be comparable to one.

If you are trying to deliver content with low latency to web users, your best bet is to put Spaces behind a CDN as an origin.

Any paid CDN will work well with Spaces and here are a couple of links that describe how to set that up: https://www.digitalocean.com/community/questions/does-do-spaces-provide-a-cdn-in-front-of-the-storage-for-fast-global-access

  • @johngannon

    During the beta testing phase, speeds were decent. I'm having to move our production back to our old solution. I've used other object storage solutions and never experienced the issues I'm having with you guys. It's so frustrating, I expected and wanted you guys to have an awesome object storage alternative to the big S3.

    I would really like a blog post, update or something once you guys make some major improvements to the speeds. I will be staying away from using your object storage solution until then and will be wary with any new future products/solutions.

Have another answer? Share your knowledge.