From commits-return-75477-apmail-cassandra-commits-archive=cassandra.apache.org@cassandra.apache.org Sat Jun 1 14:35:22 2013 Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 127ABF1E2 for ; Sat, 1 Jun 2013 14:35:22 +0000 (UTC) Received: (qmail 83329 invoked by uid 500); 1 Jun 2013 14:35:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 83281 invoked by uid 500); 1 Jun 2013 14:35:21 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 83263 invoked by uid 99); 1 Jun 2013 14:35:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jun 2013 14:35:21 +0000 Date: Sat, 1 Jun 2013 14:35:21 +0000 (UTC) From: "Daniel Norberg (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5422) Native protocol sanity check MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672116#comment-13672116 ] Daniel Norberg commented on CASSANDRA-5422: ------------------------------------------- I've gotten confirmation that my ICLA has been received by the ASF. Waiting for confirmation that our Corporate CLA has also been successfully submitted. My changes to the message serialization can be merged at will as they should be covered by the ICLA. The changes I made to the driver and stress application I have donated to the driver project so you can use them as you wish. I believe the write batcher could be incorporated in org.apache.cassandra.transport and then used both in the driver and server without any legal difficulties. > Native protocol sanity check > ---------------------------- > > Key: CASSANDRA-5422 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5422 > Project: Cassandra > Issue Type: Bug > Components: API > Reporter: Jonathan Ellis > Assignee: Daniel Norberg > Attachments: 5422-test.txt, ExecuteMessage Profiling - Call Tree.png, ExecuteMessage Profiling - Hot Spots.png > > > With MutationStatement.execute turned into a no-op, I only get about 33k insert_prepared ops/s on my laptop. That is: this is an upper bound for our performance if Cassandra were infinitely fast, limited by netty handling the protocol + connections. > This is up from about 13k/s with MS.execute running normally. > ~40% overhead from netty seems awfully high to me, especially for insert_prepared where the return value is tiny. (I also used 4-byte column values to minimize that part as well.) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira