Redis cache hit rate

Use info command in redis-cli

info memory
info stats 

or

telnet localhost 6379
info

How to calculate the rate ?

keyspace_hit / ( keyspace_hit + keyspace_misses ) = hit_rate

official doc : http://redis.io/commands/info

Redis cache hit rate_第1张图片
屏幕快照 2016-08-16 下午2.50.01.png

A real-time Redis monitoring tool :
https://github.com/junegunn/redis-stat

refer: https://ruby-china.org/topics/22761

你可能感兴趣的:(Redis cache hit rate)