cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CASSANDRA-3634) compare string vs. binary prepared statement parameters
Date Wed, 28 Dec 2011 23:57:30 GMT

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

Eric Evans edited comment on CASSANDRA-3634 at 12/28/11 11:56 PM:
------------------------------------------------------------------

To run these tests you need:

# https://github.com/eevans/cassandra/tree/3633.stress -- updates stress for prepared statements
with String-typed args
# https://github.com/eevans/cassandra/tree/3634.bb -- updates Cassandra to use ByteBuffer-typed
prepared statement args
# https://github.com/eevans/cassandra/tree/3634.stress.bb -- updates stress to use ByteBuffer
args with prepared statements

Use branch #1 to test String arguments, and branches #2 and 3 when testing ByteBuffer arguments.

This recipe should work:

{code:type=shell}
$ git clone git://github.com/eevans/cassandra.git
$ git co -b without_bb origin/3633.stress
$ git co -b with_bb origin/3634.bb
$ git merge origin/3634.stress.bb
{code}
                
      was (Author: urandom):
    To run these tests you need:

# https://github.com/eevans/cassandra/tree/3633.stress -- updates stress for prepared statements
with String-typed args
# https://github.com/eevans/cassandra/tree/3634.bb -- updates Cassandra to use ByteBuffer-typed
prepared statement args
# https://github.com/eevans/cassandra/tree/3634.stress.bb -- updates stress to use ByteBuffer
args with prepared statements

Use branch #1 to test String arguments, and branches #2 and 3 when testing ByteBuffer arguments.
                  
> compare string vs. binary prepared statement parameters
> -------------------------------------------------------
>
>                 Key: CASSANDRA-3634
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3634
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API, Core
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>            Priority: Minor
>              Labels: cql
>             Fix For: 1.1
>
>
> Perform benchmarks to compare the performance of string and pre-serialized binary parameters
to prepared statements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message