Task: Analyze Redis Database Memory Usage Per Key Pattern
Task: Analyze Redis Database Memory Usage Per Key Pattern: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that connects to a local Redis instance, populates it with sample data across multiple databases, and then analyzes memory consumption by database and by key pattern. The…
The task
Write a shell script that connects to a local Redis instance, populates it with sample data across multiple databases, and then analyzes memory consumption by database and by key pattern. The script should produce a report showing which databases and which key patterns consume the most memory.
Part of PrimeIntellect/Terminal-Lego-15k.