What is powering rate limiting under the hood?

What is powering rate limiting under the hood?
3 Replies
welz
welzOP4w ago
I'm curious because with the new tracing I can see that it's almost instant
1984 Ford Laser
I would have said Durable Objects
Chaika
Chaika4w ago
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

Did you find this page helpful?