redis-audit
redis-audit copied to clipboard
Cluster mode
Two enhancements in this PR:
- Cluster Mode: Uses
redis-clusteringGem to connect to cluster and auto discover nodes. - Memory Flag: Use the memory usage command (Redis 4.0 and up) to get key sizes. Allows the use of the script against AWS Elasticache instances.
There's a TODO in the code for smarter defaulting of the memory flag, but at present what's in the PR meets my requirements.