You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2013/10/25 23:20:31 UTC

[jira] [Comment Edited] (CASSANDRA-6146) CQL-native stress

    [ https://issues.apache.org/jira/browse/CASSANDRA-6146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805709#comment-13805709 ] 

Benedict edited comment on CASSANDRA-6146 at 10/25/13 9:20 PM:
---------------------------------------------------------------

Hi [~mishail],

You might want to take a look at my patch for [6199|https://issues.apache.org/jira/browse/CASSANDRA-6199], and make your changes there. Adding support for custom CQL operations like this should be as easy as copying the CqlReader class and, mostly, deleting a few unnecessary lines. The options parser may need a few minutes to figure out how to add another command. Take a look in Command, SettingsCommand and StressSettings.

The interesting bit will be inserts - automatic detection of table structure and selection of sensible generators for those columns should be fun, and a great feature. A couple of new data generators may be needed, but should be pretty easy.

If you want to get really exciting, support for interleaving multiple statements shouldn't be too difficult, as it's currently supported for other operations in mixed mode - this would require a little bit of rejigging, but probably not too much.

Any questions, feel free to ping me here, email or irc


was (Author: benedict):
Hi [~mishail],

You might want to take a look at my patch for [6199|https://issues.apache.org/jira/browse/CASSANDRA-6199], and make your changes there. Adding support for custom CQL operations like this should be as easy as copying the CqlReader class and, mostly, deleting a few unnecessary lines. The options parser may need a few minutes to figure out how to add another command. Take a look in Command, SettingsCommand and StressSettings.

The interesting bit will be inserts - automatic detection of table structure and selection of sensible generators for those columns should be fun, and a great feature. A couple of new data generators may be needed, but should be pretty easy.

If you want to get really exciting, support for interleaving multiple statements shouldn't be too difficult, as it's currently supported for other operations in mixed mode - this would require a little bit of rejigging, but probably not too much.

> CQL-native stress
> -----------------
>
>                 Key: CASSANDRA-6146
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6146
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>
> The existing CQL "support" in stress is not worth discussing.  We need to start over, and we might as well kill two birds with one stone and move to the native protocol while we're at it.



--
This message was sent by Atlassian JIRA
(v6.1#6144)