Using Redis-Stat for Redis Statistics Tracking

10 Shares Google+ 3 Facebook 2 Twitter 4 LinkedIn 1 10 Shares ×

Usually to monitor Redis I use redis-cli or redis-stat. I would recommend Redis-Stat. Once installed you simply type redis-stat in server shell and it will display a running log of stats:

Redis-stat

Now lets say you want to view these stats using your web browser. You would then start redis using:

Now all you have to do is visit domain.com and add :63790 to the end. Eg domain.com:63790 which will then load a stats page smilar to this…

redis stat browser

The above stats are for a Magento client I’ve recently optimized with FPC via Redis backend. Over 2GB of cache after just a few hours. TTL set to 24 hours.

Update: Redis kept growing to 6+ Gigs so I made a quick config change documented here http://redis.io/topics/config. Used maxmemory  & maxmemory-policy to limit Redis to 2GB of cache and then when full it purges all keys LRU.

Enjoy!

10 Shares Google+ 3 Facebook 2 Twitter 4 LinkedIn 1 10 Shares ×
No comments yet.

Leave a Reply

10 Shares Google+ 3 Facebook 2 Twitter 4 LinkedIn 1 10 Shares ×