Thank you Michael Schuler,

The option "-rate throttle" is not in the documentation so I didn't find
it. It has replaced the old "-rate limit" since the 3.8 version (so it is
written in the NEWS.txt)

I am running the trunk version, so it is already available to me.

Thank you very much,
Lucas Benevides

2017-08-07 13:20 GMT-03:00 Michael Shuler <mich...@pbandjelly.org>:

> 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)
> cassandra-stress.
>
> --
> Kind regards,
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: dev-h...@cassandra.apache.org
>
>

Reply via email to