πŸ”— redis-scan-bash - bashrc script for redis-scan util to iterate Redis keys

We know we must avoid redis-cli keys '*' especially on production servers with many keys, since that blocks other clients for a significant time e.g. more than 250ms, maybe even a few seconds. That might mean all current requests by users of your website are delayed for that time. Those will be recorded in your slowlog which you might be monitoring, and so alerts get triggered etc. Let's avoid that.

🌎 https://github.com/evanx/redis-scan-bash