Expiration date and data usage limit for keys
See original GitHub issueIt would be a good feature to have the ability to limit keys by date and data usage.
Right now I’m using key names like this user_<LABEL>_<EXP-DATE>_<X>GB
And I have a small python script which uses the API and runs every minute with cron to parse the key names and compare their usage metrics to their usage limit in the name, and delete the key if their expiration date or usage limit is passed…
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Data limits - Help
No, a user's limit always includes the past 30 days of data use. If you'd like to reset a user's usage, you can...
Read more >Memcache maximum key expiration time - Stack Overflow
But, as you say, if you're setting key expiration to an amount of time rather than a date, the maximum is 2,592,000 seconds,...
Read more >Improving key expiration in Redis - Twitter Blog
After a lot of time spent debugging and testing we were able to reduce Redis's memory use in some of our clusters by...
Read more >About Azure Key Vault secrets - Microsoft Learn
The maximum length of this field is 255 characters. The suggested usage is as a hint for interpreting the secret data. For instance,...
Read more >Deploy keys - GitLab Docs
Valid as long as it's registered and enabled. Can be given an expiration date. Registry access, Cannot access a package registry. Can read...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @rmin Could you share your script? Is there a solution to limit concurrent users on the same key?
The Outline Server now supports data usage limits for keys: here, so I think this is done 😃