You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/03/10 15:52:02 UTC

[jira] Updated: (CASSANDRA-2299) Add counters to stress tool

     [ https://issues.apache.org/jira/browse/CASSANDRA-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-2299:
----------------------------------------

    Attachment: 0001-Add-counter-support-to-stress-java.patch

Attached patch (against trunk)

This adds two new operations: COUNTER_ADD and COUNTER_GET (that really INSERT and READ adapted to counters).

This also add a new option: numDifferentKey. While numKey gives the number of insert to do, numDifferentKey tells how many different key we want. That is if numDifferentKey == numKey (the default), then everything acts as usual, but if for instance numDifferentKey == 1, then it will do numKey inserts but will overwrite the same row each time. This makes sense for counters where you may want to benchmark the reconciliation process (otherwise you don't test much more than what INSERT already test).

Lastly, it also add the option to disable replicate_on_write when creating the keyspaces.


> Add counters to stress tool
> ---------------------------
>
>                 Key: CASSANDRA-2299
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2299
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Contrib
>    Affects Versions: 0.8
>            Reporter: T Jake Luciani
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 0001-Add-counter-support-to-stress-java.patch
>
>
> For purposes of profiling changes it would be very helpful to have counter operations added to the stress tool.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira