Some quick questions about workers that hopefully someone can help with and I haven’t been quite clear on:
- I came across this post:
"There is a not well documented rule that rate limits workers with subrequests. Mostly API users see this.
If you have an API user that is doing more than 2,000 requests a minute to your api for the same colo, zone and “eyeball IP” (and each of those is issuing a subrequest via your worker) you’ll be rate limited. The rate limit is basically 2k subrequests per minute per colo / zone / IP. Once you hit that you start serving 429s."
Just to clarify that, as it is not documented, does that mean every request sees a 429 beyond that limit, or only the ones from that same user (so if someone is making lots of requests from, say, 184.108.40.206, they see a 429 for the 2001st, but someone else, say, from 220.127.116.11 sees no issue)
Does a request to KV count towards that 2000, so is that considered a sub-request?
Are requests to worker’s Cache API rate-limited the same as if calling api.cloudflare.com externally? I see direct calls to the API are rate-limited to 1,200 per 5 minutes. So like, if a worker deletes a cached entry using its built-in Cache API, does that count towards it?