Hello again, I’m here with an issue I don’t quite understand. Lately, I’ve been wondering why my application did not return responses from the API it was sending requests to. Basically the app functions as an API-to-API service.
The request flow looks like this:
Request -> Worker -> API Provider -> Respond with the data
However, when I’ve been attempting to send thousands of requests from a small amount of IPs, the requests to the Workers work just fine, however, when the Workers are attempting to do the requests to the API provider, they fail because the IP addresses are rate-limited. I find this weird, because on the limits page, it states the following:
I interpreted it as the requests would be stopped before the Workers were processing them, and not when the Workers were making requests on behalf of the request. Am I doing something wrong here?
If the requests were rate-limited automatically on Cloudflare’s end, there would be no issues, but I wasn’t expecting having to set in a response check for rate limiting on Cloudflare’s end.