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 492559CA7 for ; Thu, 26 Apr 2012 04:42:28 +0000 (UTC) Received: (qmail 81306 invoked by uid 500); 26 Apr 2012 04:42:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80726 invoked by uid 500); 26 Apr 2012 04:42:19 -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 80698 invoked by uid 99); 26 Apr 2012 04:42:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 04:42:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of watanabe.maki@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 04:42:13 +0000 Received: by iazz13 with SMTP id z13so1235667iaz.31 for ; Wed, 25 Apr 2012 21:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8jgM8JCNz3p/ihILyo01FDpEggb7sJDQzKEiHdUkRhQ=; b=wnXg1ouGE4qLPsSTfXmvyPmlv3627tUeoJ+/VtMDDTwBwEA0kVWZ4sAns6lhX8UGpK kkpitc5HdIRwXUJMptN/VZNMlwlgGflrPAY1QUBsK3+mI3+wWKKY2OfJ4/ljFwApolCu PL1zb1bJ37IkYnp2aEaO/R5GJlySZVxdgmhSr8/90AShT7w/jvAcAtXnq4lxphhY18hq QUx1YCujZxXtuz/lSlrIr+T/LVPFDddyb3VUf7Z/GQQoSEQq7BdsKIXsTkFFm6bxEL+1 Tt1FZoTbqPyiy3wRksPBBe22oDb/xSDHzm9bES6l8NkFvsp0Lg5LSbGOYX78Y7OycJOC Ey0Q== MIME-Version: 1.0 Received: by 10.50.186.132 with SMTP id fk4mr16801098igc.23.1335415313258; Wed, 25 Apr 2012 21:41:53 -0700 (PDT) Received: by 10.42.223.4 with HTTP; Wed, 25 Apr 2012 21:41:53 -0700 (PDT) In-Reply-To: References: <6E7BF187-04F3-4F05-B799-4C0DF5DE7690@thrutherockies.com> Date: Thu, 26 Apr 2012 13:41:53 +0900 Message-ID: Subject: Re: Cassandra and harddrives From: Maki Watanabe To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org If your shared disk is super fast enough to handle IO requests from multiple cassandra node, you can do it in theory. And the disk will be the single point of failure in your system. For optimal performance, each node should have at least 2 hdd, one for commitlog and one for data. maki 2012/4/26 samal : > Each node need its own HDD for multiple copies. cant share it with others > node. > > > On Thu, Apr 26, 2012 at 8:52 AM, Benny R=C3=B6nnhager > wrote: >> >> Hi! >> >> I am building a database with several hundred thousands of images. >> have just learned that HaProxy is a very good fronted to a couple of >> Cassandra nodes. I understand how that works but... >> >> Must every single node (mac mini) have it's own external harddrive with >> the same data (images) or can I just use one hard drive that can be >> accessed by all nodes? >> >> What is the recommended way to do this? >> >> Thanks in advance. >> >> Benny > >