Comments (7)
@ogzhanolguncu I appreciate the example. I was trying to use the rate-limiter without redis (directly using DO storage for the cache.) I ended up moving to durable-limiter, which does what I want.
from ratelimit-js.
Is this project dead?
from ratelimit-js.
@konsumer Nope, it's not. We'll take care of it as soon as possible.
from ratelimit-js.
Here is a working gist file for you that utilizes ratelimit
, redis
and durable object:
https://gist.github.com/ogzhanolguncu/53b13094c9b123b2e29c9ac8b0078cd8
Also just to make sure I tested this with both local and deployed version both works fine.
from ratelimit-js.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.
from ratelimit-js.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.
from ratelimit-js.
This issue was closed because it has been stalled for 30 days with no activity.
from ratelimit-js.
Related Issues (20)
- Version 1.1.2 throws errors HOT 3
- Get reset time with a function HOT 4
- Ratelimit.tokenBucket default tokens value HOT 3
- Dynamic token cost on Ratelimit.tokenBucket algorithm HOT 3
- Ratelimit doesn't seem to return proper reset time HOT 4
- Ratelimit usage with ioredis HOT 4
- Question about rate limit HOT 1
- SlidingWindow dose not work properly in the latest release HOT 1
- Rate Limiter takes 5s to complete API call HOT 5
- blockUntilReady and cf workers HOT 8
- Limiting Concurrency HOT 12
- custom rates support HOT 21
- Upstash Ratelimit Error in GH Action HOT 8
- Support getting and resetting limit of a specific identifier HOT 11
- Self-hosted Redis use? HOT 4
- How to set one hour limit for sliding window? HOT 2
- Awaiting `pending` promise is required in Lambda HOT 1
- Enabling analytics leads to timeouts in response-streaming AWS Lambda HOT 7
- No TTL set for slidingWindow rate limit keys on latest version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ratelimit-js.