Delayed uploads to Cloudflare R2

Hi,

I have an application for generating images connected with R2.
I noticed that some of the output links with images are delayed up to several minutes, until then, a 404 page is displayed
I have my own domain connected and all rate limits and protections for this bucket are disabled in the WAF tab.
Users generate about 3 images/second. Is it possible that this is too much for R2 or am I missing something?
I also used AWS S3 and Google storage and did not observe a similar experience even under much higher loads.

Thanks in advance.

1 Like

Facing this same issue. Files start working only after a few minutes, until then they throw 404 errors.

What I learned about the problem is that there’s some kind of concurrent uploads limit per bucket even with custom domain enabled. If you’re uploading tons of files simultaneously, it may cause a queue. What I did was split it into several buckets. I think it’s best to stick to about one file per second. This isn’t backed by documentation, but based on my experience.

seeing the same on our side as well.

Also, make sure you don’t cache 404s.