Attila Toth
Attila Toth

Reputation: 307

How to use Cassandra-stress tool with an EXACT number of ops/sec?

Let's say I need 10000 ops/sec with a read:write ratio of 7:3

I'm trying with this:

mixed duration=6h cl=local_quorum keysize=100 'ratio(read=7,write=3)' -rate fixed="10000/s" -pop seq=1..10000 -mode user="user" password="pass" -node 1.1.1.1

Error:

Failed to parse parameter fixed.

Caused by:
    Invalid value =10000/s. Boolean flag cannot have any value.
Error: Failed to parse CLI arguments.

It doesn't show errors, if I replace fixed="10000/s" with threads=100. But I need a way to control the exact number of operations/second. Is there a way to achieve this? even with threads?

Upvotes: 0

Views: 16

Answers (0)

Related Questions