Redis is an open source, in memory advance key value store with optional persistence to disk. Two common use of Redis is caching and publish-subscribe queues.
How to access Redis performance metrics
Redis performance metrics is accessible through Redis command line interface (Redis-cli). Use the info command to print all performance metrics for your redis server.
Output of info command is grouped in following 10 groups :
command. For example to print memory statistics for redis server use info memory :
Top Redis Performance Metrics:
Memory Fragmentation ratio = used_memory_rss/used_memory
If fragmentation ratio is outside range of 1 to 1.5 , it is likely sign of poor memory fragmentation by either Operating system or Redis instance.
The evicted_keys metrics gives number of keys removed by Redis due to hitting maxmemory limit.How to access Redis performance metrics
Redis performance metrics is accessible through Redis command line interface (Redis-cli). Use the info command to print all performance metrics for your redis server.
Output of info command is grouped in following 10 groups :
- server
- client
- memory
- persistence
- stats
- replication
- cpu
- commandstats
- cluster
- keyspace
Top Redis Performance Metrics:
- Memory Usage : used_memory
- total_commands_processed
- mem_fragmentation_ratio
Memory Fragmentation ratio = used_memory_rss/used_memory
If fragmentation ratio is outside range of 1 to 1.5 , it is likely sign of poor memory fragmentation by either Operating system or Redis instance.
- Evictions



No comments:
Post a Comment