github-proxy icon indicating copy to clipboard operation
github-proxy copied to clipboard

Rate limit implementation?

Open mochaaP opened this issue 4 years ago • 0 comments

Seemed not possible with native Workers (even with Durable Objects), as Date.now() is a fixed value.

Maybe use a rate limit API running on external hosting solutions, e.g. Heroku?

An idea: Workers =(per request)=> Throttler =(when reached rate limit)=> Write to KV


or just use Cloudflare Page Rules to rate limit, but a domain is needed for this to work.

mochaaP avatar Nov 23 '21 10:11 mochaaP