Skip to content

Instantly share code, notes, and snippets.

@dlutzy
Created September 12, 2012 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlutzy/3704912 to your computer and use it in GitHub Desktop.
Save dlutzy/3704912 to your computer and use it in GitHub Desktop.
redis logging
root@redis:~# redis-benchmark -q -n 100000
PING (inline): 45392.64 requests per second
PING: 45433.89 requests per second
MSET (10 keys): 41631.97 requests per second
SET: 45578.85 requests per second
GET: 45808.52 requests per second
INCR: 46317.74 requests per second
LPUSH: 46168.05 requests per second
LPOP: 46125.46 requests per second
SADD: 46125.46 requests per second
SPOP: 45998.16 requests per second
LPUSH (again, in order to bench LRANGE): 46533.27 requests per second
LRANGE (first 100 elements): 36845.98 requests per second
LRANGE (first 300 elements): 20863.76 requests per second
LRANGE (first 450 elements): 15984.65 requests per second
LRANGE (first 600 elements): 12985.33 requests per second
root@redis:~# redis-cli monitor >> /mnt/redis-monitor-`date --iso-8601` &
[1] 6082
root@redis:~# redis-benchmark -q -n 100000
PING (inline): 36390.10 requests per second
PING: 37202.38 requests per second
MSET (10 keys): 13227.51 requests per second
SET: 30731.41 requests per second
GET: 32102.73 requests per second
INCR: 30826.14 requests per second
LPUSH: 32733.22 requests per second
LPOP: 34542.32 requests per second
SADD: 29647.20 requests per second
SPOP: 35124.70 requests per second
LPUSH (again, in order to bench LRANGE): 32981.53 requests per second
LRANGE (first 100 elements): 25252.53 requests per second
LRANGE (first 300 elements): 18083.18 requests per second
LRANGE (first 450 elements): 14583.64 requests per second
LRANGE (first 600 elements): 11768.86 requests per second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment