Now redis-benchmark has lots of options for measuring Redis throughput.

But In some scenarios: - We want to look at Redis resource consumption at a fixed (or maximum) throughput. - We want to get an acceptable throughput, latency. - etc...

This requires redis-benchmark to test Redis with a given throughput.

Is there any plan in the Redis community to add an option to specify throughput?

Comment From: filipecosta90

Hi there @caipengbo, it's indeed a very important aspect of the benchmark tools to be able to provide a sustainable throughput so that we can mimic real-life scenarios ( in which we don't stress the DB to the limit ). It's also been requested on memtier_benchmark and I would say that depending on how easy is to implement this feature in redis-benchmark or memtier we should work on adding this feature to at least one of it.

Comment From: caipengbo

I am very interested in it and I will devote my spare time to thinking about it.

Comment From: madolson

I'll add one other nugget for thought. Most times people have "latency requirements" when they are using Redis, but it's hard to understand a workloads max throughput while still meeting that latency requirement. It would be nice to be able to tell redis-benchmark what your P99 latency is, and it'll figure out what the throughput you can sustain is.

Comment From: aierui

@caipengbo ping