Skip to content

Only ~25k RPS when running benchmark via redis-benchmark #68

Answered by badrishc
kamyuentse asked this question in Q&A
Discussion options

You must be logged in to vote
  1. First, redis-benchmark is known to be extremely heavy on the client side, as it was developed for a different tier of performance.
  2. It looks like you have not enabled pipelining which means each request is being fully processed and returned before sending the next in a session. In this mode you are measuring nothing but the performance of localhost network roundtrip time and TCP overhead. Try -P 1024 for example.
  3. Either use Resp.benchmark which is carefully designed to ensure client does not become the bottleneck, or if you want a third-party tool then memtier_benchmark (link) is better than redis-benchmark.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vazois
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants