this post was submitted on 22 Jul 2024
542 points (98.7% liked)

Science Memes

10264 readers
2754 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fossilesque@mander.xyz 3 points 1 month ago (3 children)
[–] Sal@mander.xyz 7 points 1 month ago (2 children)

This error is a rate limit from the object storage provider. I did not know of this limit when I chose them, and I still have not found a way to change the limit. I will send them an e-mail. If the limit can't be increased, one option is to pick another object storage provider, but the migration takes days.

[–] aeharding@vger.social 1 points 1 month ago (1 children)

Any update on this? The rate limiting is affecting users on other instances too unfortunately.

[–] Sal@mander.xyz 4 points 1 month ago

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.