3 Replies
I'm curious because with the new tracing I can see that it's almost instant
I would have said Durable Objects
The same thing that powers their normal rate limiting
blog post announcement:
https://blog.cloudflare.com/workers-production-safety/
It’s lightning fast, backed by memcached, and dead simple to add to your Worker.https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/
The Rate Limiting API is backed by the same infrastructure that serves rate limiting rules.There's an older blog post that goes over rate limiting here https://blog.cloudflare.com/counting-things-a-lot-of-different-things/ I assume not much has changed, still using memcached at least