medium10 pts · first answer countsdatabasesredisrate-limiting
Rate limit key that never expires
A limiter runs INCR key, then EXPIRE key 60 only if the result is 1. Some users get blocked forever. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Status code for too many requestsBackend Developer
- Redis TTL after SET with EXBackend Developer
- Building SQL from user inputBackend Developer
- What atomicity guaranteesBackend Developer
- WHERE column = NULL finds nothingBackend Developer
- COUNT(*) versus COUNT(column)Backend Developer
- Column type for pricesBackend Developer
- Storing order times for two countriesBackend Developer