From user-return-28653-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Sun Sep 9 22:41:53 2012 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E889DF2A for ; Sun, 9 Sep 2012 22:41:53 +0000 (UTC) Received: (qmail 6864 invoked by uid 500); 9 Sep 2012 22:41:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 6818 invoked by uid 500); 9 Sep 2012 22:41:51 -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 6808 invoked by uid 99); 9 Sep 2012 22:41:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 22:41:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,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-a94.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 22:41:45 +0000 Received: from homiemail-a94.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTP id 24DE838A059 for ; Sun, 9 Sep 2012 15:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=YuqW2TRIrtAT+I5OkhOu3hCk9P E=; b=oLl8JICMlA/KbB6Fe/jBnT2QUuMV7eMsLEgNm0I9epldMddVitiZp0dmkZ nqKmg7/L4Z2b+tUnxzwUfwF4Q0ozOyMoSfxn8Vbx31U/xNVf05kEL8vgBDPNiMx6 Nvb5RYAovEy5eVgGj8h4T/G0WrPOLF0kSCZkJUOtJT+LHDmwg= Received: from [172.16.1.10] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTPSA id 7124938A058 for ; Sun, 9 Sep 2012 15:41:24 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_00B7703F-9EAD-4919-8FFA-14E24415C2F5" Message-Id: <22491ACD-4854-47DC-AF07-2C713A627F7D@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: Practical node size limits Date: Mon, 10 Sep 2012 10:41:24 +1200 References: <10AD9722-9A7B-4CE8-8DB1-35CF0C2C94CD@ebureau.com> To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1486) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_00B7703F-9EAD-4919-8FFA-14E24415C2F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > The bottleneck now seems to be the repair time. If any node becomes = too inconsistent, or needs to be replaced, the rebuilt time is over a = week. This is why i've recommended 300GB to 400GB per node in the past. It's = not a hard limit, but it seems to be a nice balance. You need to take = into consideration compaction, repair, backup / restore, node = replacement, upgrading, disaster recovery.=20 That said, compression, SSD's and faster networking may mean you can run = more data per node. Also Virtual Nodes coming in 1.2X will increase the = parallelism of repairing / bootstrapping a node. (It wont help reduce = the time taken to calculate merkle trees though).=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/09/2012, at 7:28 AM, Dustin Wenz wrote: > This is actually another problem that we've encountered with = Cassandra; the range of platforms it can be deployed on is fairly = limited. If you want to run with Oracle's JRE (which is apparently = recommended), you are pretty much stuck with Linux on x86/64 (I haven't = tried the new JDK on ARM yet, but it sounds promising). You could = probably do ok on Solaris, too, with a custom Snappy jar and some JNA = concessions. >=20 > - .Dustin >=20 > On Sep 5, 2012, at 10:36 PM, Rob Coli wrote: >=20 >> On Sun, Jul 29, 2012 at 7:40 PM, Dustin Wenz = wrote: >>> We've just set up a new 7-node cluster with Cassandra 1.1.2 running = under OpenJDK6. >>=20 >> It's worth noting that Cassandra project recommends Sun JRE. Without >> the Sun JRE, you might not be able to use JAMM to determine the live >> ratio. Very few people use OpenJDK in production, so using it also >> increases the likelihood that you might be the first to encounter a >> given issue. FWIW! >>=20 >> =3DRob >>=20 >> --=20 >> =3DRobert Coli >> AIM>ALK - rcoli@palominodb.com >> YAHOO - rcoli.palominob >> SKYPE - rcoli_palominodb >=20 --Apple-Mail=_00B7703F-9EAD-4919-8FFA-14E24415C2F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The bottleneck now seems to be the repair = time. If any node becomes too inconsistent, or needs to be replaced, the = rebuilt time is over a week.

This is why = i've recommended 300GB to 400GB per node in the past. It's not a hard = limit, but it seems to be a nice balance. You need to take into = consideration compaction, repair, backup / restore, node replacement, = upgrading, disaster recovery. 

That said, = compression, SSD's and faster networking may mean you can run more data = per node. Also Virtual Nodes coming in 1.2X will increase the = parallelism of repairing / bootstrapping a node. (It wont help reduce = the time taken to calculate merkle trees = though). 

Cheers

<= /span>
http://www.thelastpickle.com

On 7/09/2012, at 7:28 AM, Dustin Wenz <dustinwenz@ebureau.com> = wrote:

This is actually another problem that we've = encountered with Cassandra; the range of platforms it can be deployed on = is fairly limited. If you want to run with Oracle's JRE (which is = apparently recommended), you are pretty much stuck with Linux on x86/64 = (I haven't tried the new JDK on ARM yet, but it sounds promising). You = could probably do ok on Solaris, too, with a custom Snappy jar and some = JNA concessions.

- .Dustin

On Sep 5, 2012, = at 10:36 PM, Rob Coli <rcoli@palominodb.com> = wrote:

On Sun, Jul 29, 2012 at 7:40 PM, = Dustin Wenz <dustinwenz@ebureau.com> = wrote:
We've just set up a new 7-node = cluster with Cassandra 1.1.2 running under = OpenJDK6.

It's worth noting that Cassandra project = recommends Sun JRE. Without
the Sun JRE, you might not be able to use = JAMM to determine the live
ratio. Very few people use OpenJDK in = production, so using it also
increases the likelihood that you might = be the first to encounter a
given issue. FWIW!

=3DRob

-- =
=3DRobert Coli
AIM&GTALK - rcoli@palominodb.com
YAHOO - = rcoli.palominob
SKYPE - = rcoli_palominodb


<= /html>= --Apple-Mail=_00B7703F-9EAD-4919-8FFA-14E24415C2F5--