Skip to content

Rate limit implementation? #18

Description

@mochaaP

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions