Skip to content

Instantly share code, notes, and snippets.

@cmabastar
Last active July 12, 2016 03:53
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 cmabastar/b0da173151a74a13c582d2ec61a24552 to your computer and use it in GitHub Desktop.
Save cmabastar/b0da173151a74a13c582d2ec61a24552 to your computer and use it in GitHub Desktop.
Redis Benchmark on Freebsd 10.3
redis-benchmark -q -n 100000
PING_INLINE: 34891.84 requests per second
PING_BULK: 35223.67 requests per second
SET: 38124.29 requests per second
GET: 41841.00 requests per second
INCR: 41911.15 requests per second
LPUSH: 42140.75 requests per second
LPOP: 38850.04 requests per second
SADD: 37119.52 requests per second
SPOP: 41271.15 requests per second
LPUSH (needed to benchmark LRANGE): 44762.76 requests per second
LRANGE_100 (first 100 elements): 14832.39 requests per second
LRANGE_300 (first 300 elements): 7512.58 requests per second
LRANGE_500 (first 450 elements): 5406.28 requests per second
LRANGE_600 (first 600 elements): 4123.03 requests per second
MSET (10 keys): 27816.41 requests per second
=> redis-benchmark -h 172.31.21.5 -p 6379 -q -n 100000
PING_INLINE: 6899.41 requests per second
PING_BULK: 7249.00 requests per second
SET: 7550.02 requests per second
GET: 7594.74 requests per second
INCR: 7401.38 requests per second
LPUSH: 7252.68 requests per second
LPOP: 6935.77 requests per second
SADD: 7137.25 requests per second
SPOP: 7299.80 requests per second
LPUSH (needed to benchmark LRANGE): 7425.56 requests per second
LRANGE_100 (first 100 elements): 6010.34 requests per second
LRANGE_300 (first 300 elements): 3519.52 requests per second
LRANGE_500 (first 450 elements): 2552.71 requests per second
LRANGE_600 (first 600 elements): 2669.09 requests per second
MSET (10 keys): 6897.98 requests per second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment