Thank you. There was a different error that should have been fixed yesterday (a "too many requests" reply from the object storage provider). But this error is different, and I am not sure yet why it happens. I will change some settings that could have an effect. Please let me know if it happens again!
Sal
Should be fixed now!
Good news! Just got a reply from them and they have increased the connection limit. They did not specify what the new number is, but hopefully it is high enough to not be an issue for the foreseeable future.
So, if you do run into other similar reports after this comment I would appreciate it if you tag me again.
Thanks!
Cost is not the bottleneck in this case... The problem is that I am rather ignorant about the options and their benefits/limitations. Moving the images the first time was painfully slow because of those same rate limits, and I expect the next migration to be the same, so I want to make a better choice next time and would rather find a solution with the current provider 😅
Thanks for the heads up. I am still trying to resolve this without a migration... I will try again to get a response from them as they have not replied in a week.
If I am not given the ability to improve the rate limits soon I will need to find a different object storage provider. The migration will bring down the instance's images for several days so I am trying to avoid that....
If anyone knows of a good and reliable object storage provider with better limits, I would appreciate the recommendations.
This is the current status:
-
The instance is serving the images via object storage. Specifically, I am making use of Contabo to save and serve the images.
-
I now know that the default limits are 250 requests / second and 80 Mbit/s: https://help.contabo.com/en/support/solutions/articles/103000275478-what-limits-are-there-on-object-storage-
-
It appears to me like when the requests are exceeded, the "Too many requests" error is triggered and it takes a few seconds before the requests are accepted again. This can happen if few users access the front page at once as this will fetch all of the thumbnails and icons on the page.
-
I have been in touch with Contabo's customer support via e-mail. But they mis-understood my original e-mails and thought I was speaking about increasing the maximum number of images that can be stored (3 million by default). I have clarified that I want to increase the rate limit and have been waiting for their response for a few days now.
-
The other solution would be to move the images to a different object storage provider. The migration is also limited to the 250 requests/s and 80 Mbit/s, so it will require turning off the images for 4 - 7 days while all the images are moved... Since I am not familiar with the policies of other object storage providers I would also need to do research to avoid falling into the same trap.
So, I am hoping that Contabo's support will get back to me soon and allow me to increase the rate limits, as this would be the most straight forward approach.
And you are doing a great job at that! 😄
Very interesting article, thanks for sharing. I agree that it is a good one to pin!!
I have been reaching out to the object storage provider to see if I can increase the rate limits... Unfortunately I might need to change to a different provider to overcome this. Since the migration takes several days, especially so because of those same rate limits, I would rather avoid this...
That's an error I had not seen before, but I also just encountered with this specific post. I will investigate, thanks.
I have changed rate limits / timeouts that I can control, but I still see that this happens when I clear my browser cache and load the front page. I agree that it is quite bothersome. I will need to dive deeper and get in touch with the object store provider again.