I'm looking for a way to drop group of empty caches that have specific name pattern, such as xyz-realtime-*.
Our program dynamically creates temporary caches that after some time have all the objects expired and stay empty. I'm thinking of a reaper script that can run daily, connect to the cluster, find such empty caches and remove them. Would it be even possible?
Any advise or suggestions will be greatly appreciated.