I\'m using the redis-cli
tool to observe redis-server latency. Here\'s an example:
ubuntu:~$ redis-cli --latency -h 127.0.0.1 -p 6379
min: 0, max: 1
The --latency
switch puts redis-cli into a special mode that is designed to help you measure the latency between the client and your Redis server. During the time it is run in that node, redis-cli pings (using the Redis PING command) the server and keeps track of the average/minimum/maximum response times it got (in milliseconds).
This is a useful tool for ruling out network issues when you are using a remote Redis server.