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 4948510A66 for ; Sat, 16 Nov 2013 16:18:26 +0000 (UTC) Received: (qmail 57145 invoked by uid 500); 16 Nov 2013 16:18:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 57008 invoked by uid 500); 16 Nov 2013 16:18:23 -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 56986 invoked by uid 99); 16 Nov 2013 16:18:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Nov 2013 16:18:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Nov 2013 16:18:12 +0000 Received: by mail-ie0-f178.google.com with SMTP id aq17so6682387iec.9 for ; Sat, 16 Nov 2013 08:17:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=+HN6wAFC3Jo8EtSstwssY4X4m7Rd1ZpRQerYqUdxf7M=; b=bGcoZ+ilvsBwQgTOzrqv/5y3zxqmV4qTYVkNrOX1xe1p115oyZq5teq7goD8dmmYke DtmdSjVDozF4+F+v/u+PfWMSVMKSRB2Wyl83T9anGqKTffQUgdo7GoaMNxmrM8wzJ7H8 3zDbqyxc594Ire+o2Z8/qxueieB0Y0OD/mBUcXEQpTLMrblR23WCjZGu+gcx8ZuC9t6A gaoONT3vzmjtJSFyoEfCfV6s81T1Pg5ijB4h52+mU8kQcNxr085FogsbVBxZ97PR4Za1 a/XarVo8wMLVHQHO2/qlepC+LdrcqX+0K7TiY9biHHsLR1hOzlOo2NajPj/1adC+kVGZ dYcw== X-Gm-Message-State: ALoCoQm7riVmykyPudGZ+idg0rsdP0xsRvT9mH9Ttm1QOWs0zScy5xPGLqHEyNU7QusBexkAB3pI MIME-Version: 1.0 X-Received: by 10.50.136.200 with SMTP id qc8mr7991491igb.52.1384618670700; Sat, 16 Nov 2013 08:17:50 -0800 (PST) Received: by 10.64.33.14 with HTTP; Sat, 16 Nov 2013 08:17:50 -0800 (PST) X-Originating-IP: [207.237.102.71] In-Reply-To: References: Date: Sat, 16 Nov 2013 11:17:50 -0500 Message-ID: Subject: Re: Commit log on USB flash disk? From: Tupshin Harper To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e0122a8120456bf04eb4da8ab X-Virus-Checked: Checked by ClamAV on apache.org --089e0122a8120456bf04eb4da8ab Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It's conceivable that one of the faster USB 3.0 sticks would be sufficient for this. I wouldn't exactly call it an "enterprise" configuration, but it's worth considering. Keep in mind that if you are comfortable using your RF for durability, you can turn off durable_writes on your keyspace and not write to the commitlog at all. On Sat, Nov 16, 2013 at 11:05 AM, Philippe wrote: > Hi david, we tried it two years ago and the performance of the USB stick > was so dismal we stopped. > Cheers > Le 16 nov. 2013 15:13, "David Tinker" a =E9crit= : > > Our hosting provider has a cost effective server with 2 x 4TB disks >> with a 16G (or 64G) USB thumb drive option. Would it make sense to put >> the Cassandra commit log on the USB thumb disk and use RAID0 to use >> both 4TB disks for data (and Ubuntu 12.04)? >> >> Anyone know how long USB flash disks last when use for a write heavy >> workload like this? >> >> Please tell me if this is a really bad idea. >> >> Our alternative is to use one 4TB disk for commit log and one for >> data. Of course this will give us only half the space. >> >> Thanks >> David >> > --089e0122a8120456bf04eb4da8ab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
It's conceivable that one of the faster USB 3.0 sticks= would be sufficient for this. I wouldn't exactly call it an "ente= rprise" configuration, but it's worth considering. Keep in mind th= at if you are comfortable using your RF for durability, you can turn off du= rable_writes on your keyspace and not write to the commitlog at all.



On = Sat, Nov 16, 2013 at 11:05 AM, Philippe <watcherfr@gmail.com> wrote:

Hi david, we tried it two yea= rs ago and the performance of the USB stick was so dismal we stopped.
Cheers

Le 16 nov. 2013 15:13, "David Tinker" = <david.tinke= r@gmail.com> a =E9crit :

Our hosting provider has a cost effective server with 2 x 4TB disks
with a 16G (or 64G) USB thumb drive option. Would it make sense to put
the Cassandra commit log on the USB thumb disk and use RAID0 to use
both 4TB disks for data (and Ubuntu 12.04)?

Anyone know how long USB flash disks last when use for a write heavy
workload like this?

Please tell me if this is a really bad idea.

Our alternative is to use one 4TB disk for commit log and one for
data. Of course this will give us only half the space.

Thanks
David

--089e0122a8120456bf04eb4da8ab--