gamenet / redis-memory-analyzer

Redis memory profiler to find the RAM bottlenecks throw scaning key space in real time and aggregate RAM usage statistic by patterns.
MIT License
772 stars 80 forks source link

Retrieve key encoding in Scanner LUA script #4

Closed misterion closed 8 years ago

misterion commented 8 years ago

Now most of rules use one Redis encoding request per key and this is one perfomance breakdown issue in this tool. Scanner output should be rewrited to return tuple with type as key and value as list of tuples with key name field, encoding field and specific output (for example sdslen for strings).