cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Shuler <>
Subject Re: Cassandra Stress Tool - Insert data in a pace
Date Mon, 07 Aug 2017 16:20:42 GMT
On 08/04/2017 01:16 PM, Lucas Benevides wrote:
> I want to test, in a lab, the behavior of the compaction strategies. I
> found Cassandra Stress Tool very useful, but it does not have an option to
> insert data in a chosen pace, i. e. insert data along a period, with just a
> certain amount of data in each interval (e.g. minute). I suggest to create
> that improvement.

I think these options exist in recent versions. Looking at the following
help in trunk, it appears I'm able to construct something that emulates
a set rate over duration time:

`cassandra-stress help`
`cassandra-stress help write`
`cassandra-stress help -rate`

Run 2 threads at 100 inserts per second for 10 minutes:

`cassandra-stress write duration=10m -rate threads=2 throttle=100/s`

You did not mention what version you were running. The throttle= option
doesn't appear to be available in 3.0, so use 3.11 or trunk (4.0)

Kind regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message