denoland / denoland/std

Rate Limiting module

Open
#7,175 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

I'd like a Rate limiting module in Deno std. Similar to .NET’s `System.Threading.RateLimiting`. This covers the classic use case of "allow key X at most N requests per window."

Discord discussion: https://discord.com/channels/684898665143206084/775393009981849600/1485901437765681244

**Describe the solution you'd like**

In memory, Deno KV and Redis backed store.

**Describe alternatives you've considered**

Using NPM alternatives, but they are suboptimal

Ref: https://github.com/denoland/std/pull/7063

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.