A garbage collector for flow cache in redis.
Flows Redis cache uses Redis sets to implement tags. These sets are by design persistent. To reduce memory usage references to expired keys need to be removed.
Using script locally
git clone https://github.com/t3n/redis-garbage-collector.git
cd redis-garbage-collector
pip install -r requirements.txt
Using docker
docker pull quay.io/t3n/redis-garbage-collector:0.2.0
Using script locally
./rgc.py Cache --dry-run
./rgc.py Cache
Using docker
docker run --network="host" quay.io/t3n/redis-garbage-collector:0.2.0 Cache
docker run --network="host" quay.io/t3n/redis-garbage-collector:0.2.0 Cache --dry-run
PRs accepted.
Small note: If editing the Readme, please conform to the standard-readme specification.