2 ms·
I agree with you that requests/second is not the only or more sensible parameter to meter performances, this is because redis-benchmark reports latency percenti
by antirez 17y ago
I agree with you that requests/second is not the only or more sensible parameter to meter performances, this is because redis-benchmark reports latency percentile too. I just suppressed the output in the example, but it looks like this:
====== SET ======
10008 requests completed in 0.39 seconds
50 parallel clients
3 bytes payload
keep alive: 1
1.03% <= 0 milliseconds
38.83% <= 1 milliseconds
73.12% <= 2 milliseconds
95.34% <= 3 milliseconds
97.93% <= 4 milliseconds
99.50% <= 5 milliseconds
99.75% <= 7 milliseconds
99.84% <= 8 milliseconds
99.93% <= 9 milliseconds
99.94% <= 10 milliseconds
100.00% <= 11 milliseconds
25401.02 requests per second
As you can see under this load most clients are served in 4 milliseconds or less, including both the transmission of the request and the reception of the full reply.