Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 59630 invoked from network); 19 Oct 2010 18:07:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 18:07:02 -0000 Received: (qmail 11077 invoked by uid 500); 19 Oct 2010 18:07:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 11058 invoked by uid 500); 19 Oct 2010 18:07:00 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 11050 invoked by uid 99); 19 Oct 2010 18:07:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 18:07:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a53.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 18:06:55 +0000 Received: from homiemail-a53.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a53.g.dreamhost.com (Postfix) with ESMTP id 7834D138069 for ; Tue, 19 Oct 2010 11:06:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=26EYkZWAeZjpHoVb5dwsOq2lb0vIpg6CX3GZOZWzxQH cOAVlKerAA7dYN2DRI7XYifEH6gNQaaHG4cPwKkXxC2e8nnhBsmTpn7LNdyxBNwL yXKVVInB/CcWtofTEOaKkUMNdlKNXaYwi3ogMQ8ZA1UgsDCBg0M14zbflgEp9ndU = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=cRvuijD0F1SOJE8YEjL5+asgo2U=; b=xnizMVXssK R24PxsJebhkgT82zfPLGUhg1c2fURx3wZSxUbnbya71yLvx3B3cfxW1aPCE8KWB1 ocyHxFNmpTiHrgQhuSQhfeayzhvLgl7eXkE75oOSmU5Bgf/ytxJeeq59t3Qc/04T 17t5JVjcdTiQiTkUpndrzeNQx6fcQhSHc= Received: from [10.0.1.155] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a53.g.dreamhost.com (Postfix) with ESMTPSA id E49CC138062 for ; Tue, 19 Oct 2010 11:06:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Read Latency From: aaron morton In-Reply-To: Date: Wed, 20 Oct 2010 07:06:30 +1300 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1081) Wayne,=20 I'm calling cassandra from Python and have not seen too many 3 second = reads.=20 Your last email with log messages in it looks like your are asking for = 10,000,000 columns. How much data is this request actually transferring = to the client? The column names suggest only a few.=20 DEBUG [pool-1-thread-64] 2010-10-18 19:25:28,867 StorageProxy.java (line = 471) strongread reading data for SliceFromReadCommand(table=3D'table', = key=3D'key1', column_parent=3D'QueryPath(columnFamilyName=3D'fact', = superColumnName=3D'null', columnName=3D'null')', start=3D'503a', = finish=3D'503a7c', reversed=3Dfalse, count=3D10000000) from 698@/x.x.x.6 Aaron On 20 Oct 2010, at 06:18, Jonathan Ellis wrote: > I would expect C++ or Java to be substantially faster than Python. > However, I note that Hector (and I believe Pelops) don't yet use the > newest, fastest Thrift library. >=20 > On Tue, Oct 19, 2010 at 8:21 AM, Wayne wrote: >> The changes seems to do the trick. We are down to about 1/2 of the = original >> quorum read performance. I did not see any more errors. >>=20 >> More than 3 seconds on the client side is still not acceptable to us. = We >> need the data in Python, but would we be better off going through = Java or >> something else to increase performance? All three seconds are taken = up in >> Thrift itself (fastbinary.decode_binary(self, iprot.trans, = (self.__class__, >> self.thrift_spec))) so I am not sure what other options we have. >>=20 >> Thanks for your help. >>=20 >=20 >=20 >=20 > --=20 > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com