Skip to content

Instantly share code, notes, and snippets.

@maxguzenski
Last active June 20, 2017 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save maxguzenski/dbd90cf604c5332ec9a4 to your computer and use it in GitHub Desktop.
Save maxguzenski/dbd90cf604c5332ec9a4 to your computer and use it in GitHub Desktop.
redis-benchmark on Elasticache instancies
//
// m2.xlarge | vcpu: 2 | memory: 16.7
//
PING_INLINE: 30674.85 requests per second
PING_BULK: 30674.85 requests per second
SET: 30395.14 requests per second
GET: 30674.85 requests per second
INCR: 30959.75 requests per second
LPUSH: 31250.00 requests per second
LPOP: 30030.03 requests per second
SADD: 31152.65 requests per second
SPOP: 31152.65 requests per second
LPUSH (needed to benchmark LRANGE): 27777.78 requests per second
LRANGE_100 (first 100 elements): 24570.02 requests per second
LRANGE_300 (first 300 elements): 9099.18 requests per second
LRANGE_500 (first 450 elements): 6734.01 requests per second
LRANGE_600 (first 600 elements): 5643.34 requests per second
MSET (10 keys): 30120.48 requests per second
//
// m3.xlarge | vcpu: 4 | memory: 13.3
//
PING_INLINE: 32051.28 requests per second
PING_BULK: 31645.57 requests per second
SET: 31948.88 requests per second
GET: 31847.13 requests per second
INCR: 30581.04 requests per second
LPUSH: 31948.88 requests per second
LPOP: 31545.74 requests per second
SADD: 31545.74 requests per second
SPOP: 31347.96 requests per second
LPUSH (needed to benchmark LRANGE): 31446.54 requests per second
LRANGE_100 (first 100 elements): 19379.85 requests per second
LRANGE_300 (first 300 elements): 8904.72 requests per second
LRANGE_500 (first 450 elements): 6816.63 requests per second
LRANGE_600 (first 600 elements): 5364.81 requests per second
MSET (10 keys): 31152.65 requests per second
//
// r3.large | vcpu: 2 | memory: 13.5
//
PING_INLINE: 44843.05 requests per second
PING_BULK: 29761.90 requests per second
SET: 30864.20 requests per second
GET: 30211.48 requests per second
INCR: 30959.75 requests per second
LPUSH: 30864.20 requests per second
LPOP: 30769.23 requests per second
SADD: 28901.73 requests per second
SPOP: 30769.23 requests per second
LPUSH (needed to benchmark LRANGE): 31250.00 requests per second
LRANGE_100 (first 100 elements): 19920.32 requests per second
LRANGE_300 (first 300 elements): 9157.51 requests per second
LRANGE_500 (first 450 elements): 6729.48 requests per second
LRANGE_600 (first 600 elements): 5549.39 requests per second
MSET (10 keys): 31645.57 requests per second
//
// r3.xlarge | vcpu: 4 | memory: 28.4
//
PING_INLINE: 29235.06
PING_INLINE: 29411.76 requests per second
PING_BULK: 28490.03 requests per second
SET: 29498.53 requests per second
GET: 30674.85 requests per second
INCR: 29411.76 requests per second
LPUSH: 29411.76 requests per second
LPOP: 29940.12 requests per second
SADD: 28571.43 requests per second
SPOP: 29761.90 requests per second
LPUSH (needed to benchmark LRANGE): 29850.75 requests per second
LRANGE_100 (first 100 elements): 19120.46 requests per second
LRANGE_300 (first 300 elements): 8488.96 requests per second
LRANGE_500 (first 450 elements): 6770.48 requests per second
LRANGE_600 (first 600 elements): 5482.46 requests per second
MSET (10 keys): 30581.04 requests per second
@abhishekops
Copy link

Could you let me know how you were able to use redis-benchmark to run the above tests, as the elasticache instance doesn't respond to the redis-benchmark command in my case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment