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 EBA9798CF for ; Fri, 3 Feb 2012 07:45:37 +0000 (UTC) Received: (qmail 38693 invoked by uid 500); 3 Feb 2012 07:45:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 36449 invoked by uid 500); 3 Feb 2012 07:45:28 -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 36407 invoked by uid 99); 3 Feb 2012 07:45:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 07:45:10 +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 (nike.apache.org: domain of scode@scode.org designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 07:45:01 +0000 Received: by wibhm9 with SMTP id hm9so3052955wib.31 for ; Thu, 02 Feb 2012 23:44:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.93.194 with SMTP id cw2mr9675269wib.0.1328255080679; Thu, 02 Feb 2012 23:44:40 -0800 (PST) Sender: scode@scode.org Received: by 10.180.78.166 with HTTP; Thu, 2 Feb 2012 23:44:40 -0800 (PST) X-Originating-IP: [8.25.195.26] In-Reply-To: <1328253588891-7249985.post@n2.nabble.com> References: <1328253588891-7249985.post@n2.nabble.com> Date: Thu, 2 Feb 2012 23:44:40 -0800 X-Google-Sender-Auth: 4NV6QryM-9r3BxiZChcVZUqWrRA Message-ID: Subject: Re: Can you query Cassandra while it's doing major compaction From: Peter Schuller To: user@cassandra.apache.org Cc: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > If every node in the cluster is running major compaction, would it be abl= e to > answer any read request? =C2=A0And is it wise to write anything to a clus= ter > while it's doing major compaction? Compaction is something that is supposed to be continuously running in the background. As noted, it will have a performance impact in that it (1) generates I/O, (2) leads to cache eviction, and (if you're CPU bound rather than disk bound) (3) adds CPU load. But there is no intention that clients should have to care about compaction; it's to be viewed as a background operation continuously happening. A good rule of thumb is that an individual node should be able to handle your traffic when doing compaction; you don't want to be in the position where you're just barely dealing with the traffic, and a node doing compaction not being able to handle it. --=20 / Peter Schuller (@scode, http://worldmodscode.wordpress.com)