Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Yet another Spaces Rate Limits Quesiton
I’ve posted a similar question before, but this time I have more issues. I’m fiddling around with Spaces and as per the documentation: https://www.digitalocean.com/docs/spaces/#limits
You can have 750 requests per IP per second to all Spaces on an account.
What is troubling me is:
150 PUTs per second to any individual Space
But total 750 requests, so I could do 150PUTs * 5 Spaces = 750/s
My only problem is, I require to upload 130.000.000 images.
I guess support could lift the rates if requested, but also mention in the documentation:
“If you plan to push more than 200 requests per second to Spaces, we recommend using the Spaces CDN or creating more Spaces.”
How would creating more spaces help with the max 750 requests per second on entire account?? Wouldn’t it mean less requests per Space ? Eg. with 10 spaces doing 75PUTs/s ? Am I interpreting it wrong ?
Also what does it mean “we recommend using the Spaces CDN”. How can you do PUT requests to the CDNs?
2nd also… I got an email from their support team stating the following:
“if you are having issues with Spaces upload speed, we do offer a larger transfer speed by default for Spaces (without limits, up to 50MB/s if not more).
However, we also limit you to roughly 200 uploads per second. If your files are roughly 1Kb each, you would only be able to upload 200Kb/s.
If possible, we recommend bundling up your small files, and then moving them to Spaces. Otherwise, your upload speeds for various small files will be a lot lower.”
Can someone explain how to do this “bundling” they wrote me about. I do indeed have small files I need to upload. Per image there are 5 variations. 1 Image (the original ~400-700KB), down to 5 variations with the smallest ~8-12KB
Any help would be much appreciated.
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.×