cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8769) Extend cassandra-stress to be slightly more configurable
Date Wed, 18 Feb 2015 13:04:12 GMT


Benedict commented on CASSANDRA-8769:

There are a lot of changes incorporated here. 

I like the inclusion of truncate and error counting, and I think the latter should be printed
per interval.

I'm not fond of the user specification of warmup iterations or preloading; at this point you
should be scripting this yourself, really. Warmup is only there to get the JVM compiling its
methods, so it doesn't ever need to be run more than once at the start, nor for a differing
number of iterations unless you've modified some low level JVM settings.

The most useful change also doesn't seem to be complete? AFAICT the per-operation measurements
are never printed?

I've pushed a version with some tweaks [here|]

I think it could still do with a little tweaking before commit though, such as encapsulation
of the Map<String, TimingInterval> and all of the static methods into a TimingIntervals
class, for instance.

> Extend cassandra-stress to be slightly more configurable
> --------------------------------------------------------
>                 Key: CASSANDRA-8769
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Anthony Cozzie
>            Assignee: Anthony Cozzie
>            Priority: Minor
>             Fix For: 2.1.4
>         Attachments: stress-extensions-patch.txt
> Some simple extensions to cassandra stress:
>   * Configurable warm up iterations
>   * Output results by command type for USER (e.g. 5000 ops/sec, 1000 inserts, 1000 reads,
3000 range reads)
>   * Count errors when ignore flag is set
>   * Configurable truncate for more consistent results
> Patch attached.

This message was sent by Atlassian JIRA

View raw message