Comments (7)
Ok, it will be exist in the next release with expires and maybe for any data type too :)
from redix.
If you have any other recommendation or use case, feel free to tell me
from redix.
Yes, if you can do it.
I missed "ttl" so say "Rate limit exceeded, please wait for X secs".
I managed with storing the time() and make a diff.
But the code would be a little bit simple with the "ttl" command.
from redix.
Ok, I'll try to implement a native RATELIMIT/Throttle features in the next release, if you have other recommendations related to any other idea like utilities like Encode
command, just tell me, I need to make it very simple but very powerful.
from redix.
I will use Redix in production to rate limit an API. I'll share the code. Using https://packagist.org/packages/predis/predis
from redix.
Awesome!, what about if there were some commands related to rate-limit ? I think it would be good to support it natively without TTL/COUNTERS ?
from redix.
Redix v1.6 is now available
from redix.
Related Issues (20)
- command line params change HOT 3
- expire abc 30
- what's the params of lrange HOT 2
- the first data stored in list is not correct data. HOT 3
- Does redix support replication or clustering feature? HOT 3
- Invalid strorage engine badger specified HOT 3
- Unknown commands KEYS & SCAN
- Too many open files HOT 6
- Docker image not building
- Upgrade newest version dependency (BadgerDB v3.2011.1)
- How to set password connection ?
- Getting this error when trying to do go get, how do I resolve this? Thx in advance
- No permissions to pull HOT 12
- availability of v1 branch? HOT 10
- bug: long lasting connections terminate with sql error codes HOT 5
- feature request: info and scan command for redis-tui client
- feature: WEBHOOK set
- ping timeout when using go-redis client for pubsub
- feature request: HELLO command and discoverability
- Project is hold? HOT 1
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 redix.