Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A5CC10575 for ; Tue, 6 Aug 2013 14:36:43 +0000 (UTC) Received: (qmail 63734 invoked by uid 500); 6 Aug 2013 14:36:42 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 63523 invoked by uid 500); 6 Aug 2013 14:36:41 -0000 Mailing-List: contact dev-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 dev@cassandra.apache.org Received: (qmail 63509 invoked by uid 99); 6 Aug 2013 14:36:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 14:36:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [96.126.113.141] (HELO moros.sym-link.com) (96.126.113.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 14:36:35 +0000 Received: from moros.sym-link.com (localhost [127.0.0.1]) by moros.sym-link.com (Postfix) with ESMTP id 5F8B019DC9 for ; Tue, 6 Aug 2013 10:36:14 -0400 (EDT) Received: by moros.sym-link.com (Postfix, from userid 5001) id 4380519DE3; Tue, 6 Aug 2013 10:36:14 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moros.sym-link.com X-Spam-Level: Received: from minos.lan (cpe-68-206-99-254.satx.res.rr.com [68.206.99.254]) by moros.sym-link.com (Postfix) with ESMTPSA id B918919DC9 for ; Tue, 6 Aug 2013 10:36:13 -0400 (EDT) Received: from eevans by minos.lan with local (Exim 4.80) (envelope-from ) id 1V6iLc-0006R7-Se for dev@cassandra.apache.org; Tue, 06 Aug 2013 09:34:52 -0500 Date: Tue, 6 Aug 2013 09:34:52 -0500 From: Eric Evans To: dev@cassandra.apache.org Subject: Re: CQL or Thrift ? Message-ID: <20130806143452.GA24570@debian.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 [ Nulik Nol ] > I need a client in C (not C++) to work with Cassandra, so since there > is no one yet I would do my own. So far I have checked, I can do it > through Thrift RPC port, or through CQL port. As I understand, CQL > doesn't support direct "mutate" or "get_range_slices" calls like > Thrift does , so being Thrift API more low level, it should be faster > for specific queries my application would execute. The question is, > what do you recommend me to use, Thrift or CQL3 native protocol? Performance is likely to be the least important consideration when comparing the two, but luckily we don't have to have that argument; CQL is actually faster. -- Eric Evans eevans@sym-link.com