Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 60378 invoked from network); 13 Jun 2009 16:33:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jun 2009 16:33:43 -0000 Received: (qmail 33819 invoked by uid 500); 13 Jun 2009 16:33:55 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 33771 invoked by uid 500); 13 Jun 2009 16:33:54 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 33762 invoked by uid 99); 13 Jun 2009 16:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2009 16:33:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2009 16:33:46 +0000 Received: by ewy20 with SMTP id 20so3447636ewy.12 for ; Sat, 13 Jun 2009 09:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Bqd79181JyxcBlY+Y+HL+DRA5UigTVk6Msj85bC4W4c=; b=o/A3FVIr69fFAhYN4G5CzvcSyqaQNP5xklQQ3is8Hjnpz4HWnxZrLwpJMYCh+CACeC XSgkKtvlbOg62XeHI1cTbguoGpC2OmrnC2LWG6hb/UaxTUyWOt9YvmTLLUn+BNbk7nYa 6AQ1s5L8Cj8w9GqZ8SiM6KE72KvqibttdGtJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ANRC3FjoWsoUO9NXYytA/5GvoggHCzFyGDv81E8uWo74jHxf5f+0NsIrVD9RT2K3nZ HPBittdUKHEFHsfyuIudnr9ObntzILfuyo9AIlCk3fWFbYESWStpRHlIxe8n9Z5ew4Cu u4FN+6dmw+oe0qvk8RexoDOoDyMGyV2TIxTGQ= MIME-Version: 1.0 Received: by 10.216.20.197 with SMTP id p47mr1782916wep.13.1244910804586; Sat, 13 Jun 2009 09:33:24 -0700 (PDT) In-Reply-To: <20090613162036.GD11969@alumni.caltech.edu> References: <20090613162036.GD11969@alumni.caltech.edu> Date: Sat, 13 Jun 2009 11:33:21 -0500 Message-ID: Subject: Re: Viability of running on EC2 From: Jonathan Ellis To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org IMO the biggest downside to running on EC2 is that IO is terrible. I haven't done benchmarks, but anecdotally disk performance in particular seems like an order of magnitude slower than you'd get on non-virtual disks. So that is worth investigating before assuming that the price/performance on EC2 is what you think it is. Other than that, Cassandra is designed to emphasize availability so it should work fine in the situations you describe. Hinted handoff in particular will get writes to the right nodes quickly when machines come back online. (However, Cassandra is not yet good at dealing with machines becoming permanently dead.) Of course if _all_ of some keys' replicas are temporarily partitioned off from you you won't be able to read that data until they are visible again. -Jonathan On Sat, Jun 13, 2009 at 11:20 AM, Anthony Molinaro wrote: > Hi, > > =A0I was wondering what the viability of running cassandra on ec2 was. > I believe that it currently runs on some pretty hefty hardware at > facebook, so I'm wondering what the minimum hardware config is > (in other words can I run it on a cluster of 2core 4GB machines)? > Also, running on Amazon means no multicast, network partitions and > machines just disappearing. =A0How does cassandra deal with these > constraints/failures? > > Thanks for information, > > -Anthony > > -- > ------------------------------------------------------------------------ > Anthony Molinaro =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >